Class GLSLangSPVOptions.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<GLSLangSPVOptions>, NativeResource, Pointer
Enclosing class:
GLSLangSPVOptions

public static class GLSLangSPVOptions.Buffer extends StructBuffer<GLSLangSPVOptions,GLSLangSPVOptions.Buffer> implements NativeResource
An array of GLSLangSPVOptions structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new GLSLangSPVOptions.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 GLSLangSPVOptions.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

    • generate_debug_info

      public boolean generate_debug_info()
      Returns:
      the value of the generate_debug_info field.
    • strip_debug_info

      public boolean strip_debug_info()
      Returns:
      the value of the strip_debug_info field.
    • disable_optimizer

      public boolean disable_optimizer()
      Returns:
      the value of the disable_optimizer field.
    • optimize_size

      public boolean optimize_size()
      Returns:
      the value of the optimize_size field.
    • disassemble

      public boolean disassemble()
      Returns:
      the value of the disassemble field.
    • validate

      public boolean validate()
      Returns:
      the value of the validate field.
    • emit_nonsemantic_shader_debug_info

      public boolean emit_nonsemantic_shader_debug_info()
      Returns:
      the value of the emit_nonsemantic_shader_debug_info field.
    • emit_nonsemantic_shader_debug_source

      public boolean emit_nonsemantic_shader_debug_source()
      Returns:
      the value of the emit_nonsemantic_shader_debug_source field.
    • compile_only

      public boolean compile_only()
      Returns:
      the value of the compile_only field.
    • optimize_allow_expanded_id_bound

      public boolean optimize_allow_expanded_id_bound()
      Returns:
      the value of the optimize_allow_expanded_id_bound field.
    • generate_debug_info

      public GLSLangSPVOptions.Buffer generate_debug_info(boolean value)
      Sets the specified value to the generate_debug_info field.
    • strip_debug_info

      public GLSLangSPVOptions.Buffer strip_debug_info(boolean value)
      Sets the specified value to the strip_debug_info field.
    • disable_optimizer

      public GLSLangSPVOptions.Buffer disable_optimizer(boolean value)
      Sets the specified value to the disable_optimizer field.
    • optimize_size

      public GLSLangSPVOptions.Buffer optimize_size(boolean value)
      Sets the specified value to the optimize_size field.
    • disassemble

      public GLSLangSPVOptions.Buffer disassemble(boolean value)
      Sets the specified value to the disassemble field.
    • validate

      public GLSLangSPVOptions.Buffer validate(boolean value)
      Sets the specified value to the validate field.
    • emit_nonsemantic_shader_debug_info

      public GLSLangSPVOptions.Buffer emit_nonsemantic_shader_debug_info(boolean value)
      Sets the specified value to the emit_nonsemantic_shader_debug_info field.
    • emit_nonsemantic_shader_debug_source

      public GLSLangSPVOptions.Buffer emit_nonsemantic_shader_debug_source(boolean value)
      Sets the specified value to the emit_nonsemantic_shader_debug_source field.
    • compile_only

      public GLSLangSPVOptions.Buffer compile_only(boolean value)
      Sets the specified value to the compile_only field.
    • optimize_allow_expanded_id_bound

      public GLSLangSPVOptions.Buffer optimize_allow_expanded_id_bound(boolean value)
      Sets the specified value to the optimize_allow_expanded_id_bound field.