Package org.lwjgl.nuklear
Class NkConvertConfig.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<NkConvertConfig.Buffer>
org.lwjgl.system.StructBuffer<NkConvertConfig,NkConvertConfig.Buffer>
org.lwjgl.nuklear.NkConvertConfig.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<NkConvertConfig>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
NkConvertConfig
public static class NkConvertConfig.Buffer
extends org.lwjgl.system.StructBuffer<NkConvertConfig,NkConvertConfig.Buffer>
implements org.lwjgl.system.NativeResource
An array of
NkConvertConfig structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newNkConvertConfig.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintarc_segment_count(int value) Sets the specified value to theNkConvertConfig.arc_segment_count()field.intcircle_segment_count(int value) Sets the specified value to theNkConvertConfig.circle_segment_count()field.intcurve_segment_count(int value) Sets the specified value to theNkConvertConfig.curve_segment_count()field.floatglobal_alpha(float value) Sets the specified value to theNkConvertConfig.global_alpha()field.intline_AA()line_AA(int value) Sets the specified value to theNkConvertConfig.line_AA()field.intshape_AA()shape_AA(int value) Sets the specified value to theNkConvertConfig.shape_AA()field.tex_null()tex_null(Consumer<NkDrawNullTexture> consumer) Passes theNkConvertConfig.tex_null()field to the specifiedConsumer.tex_null(NkDrawNullTexture value) Copies the specifiedNkDrawNullTextureto theNkConvertConfig.tex_null()field.longvertex_alignment(long value) Sets the specified value to theNkConvertConfig.vertex_alignment()field.vertex_layout(int capacity) Sets the address of the specifiedNkDrawVertexLayoutElement.Bufferto theNkConvertConfig.vertex_layout(int)field.longvertex_size(long value) Sets the specified value to theNkConvertConfig.vertex_size()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newNkConvertConfig.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
NkConvertConfig.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
global_alpha
public float global_alpha()- Returns:
- the value of the
NkConvertConfig.global_alpha()field.
-
line_AA
public int line_AA()- Returns:
- the value of the
NkConvertConfig.line_AA()field.
-
shape_AA
public int shape_AA()- Returns:
- the value of the
NkConvertConfig.shape_AA()field.
-
circle_segment_count
public int circle_segment_count()- Returns:
- the value of the
NkConvertConfig.circle_segment_count()field.
-
arc_segment_count
public int arc_segment_count()- Returns:
- the value of the
NkConvertConfig.arc_segment_count()field.
-
curve_segment_count
public int curve_segment_count()- Returns:
- the value of the
NkConvertConfig.curve_segment_count()field.
-
tex_null
- Returns:
- a
NkDrawNullTextureview of theNkConvertConfig.tex_null()field.
-
vertex_layout
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- a
NkDrawVertexLayoutElement.Bufferview of the struct array pointed to by theNkConvertConfig.vertex_layout(int)field.
-
vertex_size
public long vertex_size()- Returns:
- the value of the
NkConvertConfig.vertex_size()field.
-
vertex_alignment
public long vertex_alignment()- Returns:
- the value of the
NkConvertConfig.vertex_alignment()field.
-
global_alpha
Sets the specified value to theNkConvertConfig.global_alpha()field. -
line_AA
Sets the specified value to theNkConvertConfig.line_AA()field. -
shape_AA
Sets the specified value to theNkConvertConfig.shape_AA()field. -
circle_segment_count
Sets the specified value to theNkConvertConfig.circle_segment_count()field. -
arc_segment_count
Sets the specified value to theNkConvertConfig.arc_segment_count()field. -
curve_segment_count
Sets the specified value to theNkConvertConfig.curve_segment_count()field. -
tex_null
Copies the specifiedNkDrawNullTextureto theNkConvertConfig.tex_null()field. -
tex_null
Passes theNkConvertConfig.tex_null()field to the specifiedConsumer. -
vertex_layout
Sets the address of the specifiedNkDrawVertexLayoutElement.Bufferto theNkConvertConfig.vertex_layout(int)field. -
vertex_size
Sets the specified value to theNkConvertConfig.vertex_size()field. -
vertex_alignment
Sets the specified value to theNkConvertConfig.vertex_alignment()field.
-