Class 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.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new GLSLangLimits.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 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_loops field.
    • while_loops

      public boolean while_loops()
      Returns:
      the value of the while_loops field.
    • do_while_loops

      public boolean do_while_loops()
      Returns:
      the value of the do_while_loops field.
    • general_uniform_indexing

      public boolean general_uniform_indexing()
      Returns:
      the value of the general_uniform_indexing field.
    • general_attribute_matrix_vector_indexing

      public boolean general_attribute_matrix_vector_indexing()
      Returns:
      the value of the general_attribute_matrix_vector_indexing field.
    • general_varying_indexing

      public boolean general_varying_indexing()
      Returns:
      the value of the general_varying_indexing field.
    • general_sampler_indexing

      public boolean general_sampler_indexing()
      Returns:
      the value of the general_sampler_indexing field.
    • general_variable_indexing

      public boolean general_variable_indexing()
      Returns:
      the value of the general_variable_indexing field.
    • general_constant_matrix_vector_indexing

      public boolean general_constant_matrix_vector_indexing()
      Returns:
      the value of the general_constant_matrix_vector_indexing field.
    • non_inductive_for_loops

      public GLSLangLimits.Buffer non_inductive_for_loops(boolean value)
      Sets the specified value to the non_inductive_for_loops field.
    • while_loops

      public GLSLangLimits.Buffer while_loops(boolean value)
      Sets the specified value to the while_loops field.
    • do_while_loops

      public GLSLangLimits.Buffer do_while_loops(boolean value)
      Sets the specified value to the do_while_loops field.
    • general_uniform_indexing

      public GLSLangLimits.Buffer general_uniform_indexing(boolean value)
      Sets the specified value to the general_uniform_indexing field.
    • general_attribute_matrix_vector_indexing

      public GLSLangLimits.Buffer general_attribute_matrix_vector_indexing(boolean value)
      Sets the specified value to the general_attribute_matrix_vector_indexing field.
    • general_varying_indexing

      public GLSLangLimits.Buffer general_varying_indexing(boolean value)
      Sets the specified value to the general_varying_indexing field.
    • general_sampler_indexing

      public GLSLangLimits.Buffer general_sampler_indexing(boolean value)
      Sets the specified value to the general_sampler_indexing field.
    • general_variable_indexing

      public GLSLangLimits.Buffer general_variable_indexing(boolean value)
      Sets the specified value to the general_variable_indexing field.
    • general_constant_matrix_vector_indexing

      public GLSLangLimits.Buffer general_constant_matrix_vector_indexing(boolean value)
      Sets the specified value to the general_constant_matrix_vector_indexing field.