Package org.lwjgl.util.shaderc
Class GLSLangLimits.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<GLSLangLimits.Buffer>
org.lwjgl.system.StructBuffer<GLSLangLimits,GLSLangLimits.Buffer>
org.lwjgl.util.shaderc.GLSLangLimits.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<GLSLangLimits>,NativeResource,Pointer
- Enclosing class:
GLSLangLimits
public static class GLSLangLimits.Buffer
extends StructBuffer<GLSLangLimits,GLSLangLimits.Buffer>
implements NativeResource
An array of
GLSLangLimits structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
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 newGLSLangLimits.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleando_while_loops(boolean value) Sets the specified value to thedo_while_loopsfield.booleangeneral_attribute_matrix_vector_indexing(boolean value) Sets the specified value to thegeneral_attribute_matrix_vector_indexingfield.booleangeneral_constant_matrix_vector_indexing(boolean value) Sets the specified value to thegeneral_constant_matrix_vector_indexingfield.booleangeneral_sampler_indexing(boolean value) Sets the specified value to thegeneral_sampler_indexingfield.booleangeneral_uniform_indexing(boolean value) Sets the specified value to thegeneral_uniform_indexingfield.booleangeneral_variable_indexing(boolean value) Sets the specified value to thegeneral_variable_indexingfield.booleangeneral_varying_indexing(boolean value) Sets the specified value to thegeneral_varying_indexingfield.booleannon_inductive_for_loops(boolean value) Sets the specified value to thenon_inductive_for_loopsfield.booleanwhile_loops(boolean value) Sets the specified value to thewhile_loopsfield.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 newGLSLangLimits.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
GLSLangLimits.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
-
non_inductive_for_loops
public boolean non_inductive_for_loops()- Returns:
- the value of the
non_inductive_for_loopsfield.
-
while_loops
public boolean while_loops()- Returns:
- the value of the
while_loopsfield.
-
do_while_loops
public boolean do_while_loops()- Returns:
- the value of the
do_while_loopsfield.
-
general_uniform_indexing
public boolean general_uniform_indexing()- Returns:
- the value of the
general_uniform_indexingfield.
-
general_attribute_matrix_vector_indexing
public boolean general_attribute_matrix_vector_indexing()- Returns:
- the value of the
general_attribute_matrix_vector_indexingfield.
-
general_varying_indexing
public boolean general_varying_indexing()- Returns:
- the value of the
general_varying_indexingfield.
-
general_sampler_indexing
public boolean general_sampler_indexing()- Returns:
- the value of the
general_sampler_indexingfield.
-
general_variable_indexing
public boolean general_variable_indexing()- Returns:
- the value of the
general_variable_indexingfield.
-
general_constant_matrix_vector_indexing
public boolean general_constant_matrix_vector_indexing()- Returns:
- the value of the
general_constant_matrix_vector_indexingfield.
-
non_inductive_for_loops
Sets the specified value to thenon_inductive_for_loopsfield. -
while_loops
Sets the specified value to thewhile_loopsfield. -
do_while_loops
Sets the specified value to thedo_while_loopsfield. -
general_uniform_indexing
Sets the specified value to thegeneral_uniform_indexingfield. -
general_attribute_matrix_vector_indexing
Sets the specified value to thegeneral_attribute_matrix_vector_indexingfield. -
general_varying_indexing
Sets the specified value to thegeneral_varying_indexingfield. -
general_sampler_indexing
Sets the specified value to thegeneral_sampler_indexingfield. -
general_variable_indexing
Sets the specified value to thegeneral_variable_indexingfield. -
general_constant_matrix_vector_indexing
Sets the specified value to thegeneral_constant_matrix_vector_indexingfield.
-