public static class NkConvertConfig.Buffer extends org.lwjgl.system.StructBuffer<NkConvertConfig,NkConvertConfig.Buffer> implements org.lwjgl.system.NativeResource
NkConvertConfig structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NkConvertConfig.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
arc_segment_count()
Returns the value of the
arc_segment_count field. |
NkConvertConfig.Buffer |
arc_segment_count(int value)
Sets the specified value to the
arc_segment_count field. |
int |
circle_segment_count()
Returns the value of the
circle_segment_count field. |
NkConvertConfig.Buffer |
circle_segment_count(int value)
Sets the specified value to the
circle_segment_count field. |
int |
curve_segment_count()
Returns the value of the
curve_segment_count field. |
NkConvertConfig.Buffer |
curve_segment_count(int value)
Sets the specified value to the
curve_segment_count field. |
float |
global_alpha()
Returns the value of the
global_alpha field. |
NkConvertConfig.Buffer |
global_alpha(float value)
Sets the specified value to the
global_alpha field. |
int |
line_AA()
Returns the value of the
line_AA field. |
NkConvertConfig.Buffer |
line_AA(int value)
Sets the specified value to the
line_AA field. |
NkDrawNullTexture |
null_texture()
Returns a
NkDrawNullTexture view of the null_texture field. |
NkConvertConfig.Buffer |
null_texture(java.util.function.Consumer<NkDrawNullTexture> consumer)
Passes the
null_texture field to the specified Consumer. |
NkConvertConfig.Buffer |
null_texture(NkDrawNullTexture value)
Copies the specified
NkDrawNullTexture to the null_texture field. |
int |
shape_AA()
Returns the value of the
shape_AA field. |
NkConvertConfig.Buffer |
shape_AA(int value)
Sets the specified value to the
shape_AA field. |
long |
vertex_alignment()
Returns the value of the
vertex_alignment field. |
NkConvertConfig.Buffer |
vertex_alignment(long value)
Sets the specified value to the
vertex_alignment field. |
NkDrawVertexLayoutElement.Buffer |
vertex_layout(int capacity)
Returns a
NkDrawVertexLayoutElement.Buffer view of the struct array pointed to by the vertex_layout field. |
NkConvertConfig.Buffer |
vertex_layout(NkDrawVertexLayoutElement.Buffer value)
Sets the address of the specified
NkDrawVertexLayoutElement.Buffer to the vertex_layout field. |
long |
vertex_size()
Returns the value of the
vertex_size field. |
NkConvertConfig.Buffer |
vertex_size(long value)
Sets the specified value to the
vertex_size field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NkConvertConfig.Buffer instance 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.
public Buffer(long address,
int cap)
public float global_alpha()
global_alpha field.public int line_AA()
line_AA field.public int shape_AA()
shape_AA field.public int circle_segment_count()
circle_segment_count field.public int arc_segment_count()
arc_segment_count field.public int curve_segment_count()
curve_segment_count field.public NkDrawNullTexture null_texture()
NkDrawNullTexture view of the null_texture field.public NkDrawVertexLayoutElement.Buffer vertex_layout(int capacity)
NkDrawVertexLayoutElement.Buffer view of the struct array pointed to by the vertex_layout field.capacity - the number of elements in the returned bufferpublic long vertex_size()
vertex_size field.public long vertex_alignment()
vertex_alignment field.public NkConvertConfig.Buffer global_alpha(float value)
global_alpha field.public NkConvertConfig.Buffer line_AA(int value)
line_AA field.public NkConvertConfig.Buffer shape_AA(int value)
shape_AA field.public NkConvertConfig.Buffer circle_segment_count(int value)
circle_segment_count field.public NkConvertConfig.Buffer arc_segment_count(int value)
arc_segment_count field.public NkConvertConfig.Buffer curve_segment_count(int value)
curve_segment_count field.public NkConvertConfig.Buffer null_texture(NkDrawNullTexture value)
NkDrawNullTexture to the null_texture field.public NkConvertConfig.Buffer null_texture(java.util.function.Consumer<NkDrawNullTexture> consumer)
null_texture field to the specified Consumer.public NkConvertConfig.Buffer vertex_layout(NkDrawVertexLayoutElement.Buffer value)
NkDrawVertexLayoutElement.Buffer to the vertex_layout field.public NkConvertConfig.Buffer vertex_size(long value)
vertex_size field.public NkConvertConfig.Buffer vertex_alignment(long value)
vertex_alignment field.Copyright LWJGL. All Rights Reserved. License terms.