Package org.lwjgl.util.shaderc
Class GLSLangSPVOptions.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<GLSLangSPVOptions.Buffer>
org.lwjgl.system.StructBuffer<GLSLangSPVOptions,GLSLangSPVOptions.Buffer>
org.lwjgl.util.shaderc.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.-
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 newGLSLangSPVOptions.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionbooleancompile_only(boolean value) Sets the specified value to thecompile_onlyfield.booleandisable_optimizer(boolean value) Sets the specified value to thedisable_optimizerfield.booleandisassemble(boolean value) Sets the specified value to thedisassemblefield.booleanemit_nonsemantic_shader_debug_info(boolean value) Sets the specified value to theemit_nonsemantic_shader_debug_infofield.booleanemit_nonsemantic_shader_debug_source(boolean value) Sets the specified value to theemit_nonsemantic_shader_debug_sourcefield.booleangenerate_debug_info(boolean value) Sets the specified value to thegenerate_debug_infofield.booleanoptimize_allow_expanded_id_bound(boolean value) Sets the specified value to theoptimize_allow_expanded_id_boundfield.booleanoptimize_size(boolean value) Sets the specified value to theoptimize_sizefield.booleanstrip_debug_info(boolean value) Sets the specified value to thestrip_debug_infofield.booleanvalidate()validate(boolean value) Sets the specified value to thevalidatefield.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 newGLSLangSPVOptions.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
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_infofield.
-
strip_debug_info
public boolean strip_debug_info()- Returns:
- the value of the
strip_debug_infofield.
-
disable_optimizer
public boolean disable_optimizer()- Returns:
- the value of the
disable_optimizerfield.
-
optimize_size
public boolean optimize_size()- Returns:
- the value of the
optimize_sizefield.
-
disassemble
public boolean disassemble()- Returns:
- the value of the
disassemblefield.
-
validate
public boolean validate()- Returns:
- the value of the
validatefield.
-
emit_nonsemantic_shader_debug_info
public boolean emit_nonsemantic_shader_debug_info()- Returns:
- the value of the
emit_nonsemantic_shader_debug_infofield.
-
emit_nonsemantic_shader_debug_source
public boolean emit_nonsemantic_shader_debug_source()- Returns:
- the value of the
emit_nonsemantic_shader_debug_sourcefield.
-
compile_only
public boolean compile_only()- Returns:
- the value of the
compile_onlyfield.
-
optimize_allow_expanded_id_bound
public boolean optimize_allow_expanded_id_bound()- Returns:
- the value of the
optimize_allow_expanded_id_boundfield.
-
generate_debug_info
Sets the specified value to thegenerate_debug_infofield. -
strip_debug_info
Sets the specified value to thestrip_debug_infofield. -
disable_optimizer
Sets the specified value to thedisable_optimizerfield. -
optimize_size
Sets the specified value to theoptimize_sizefield. -
disassemble
Sets the specified value to thedisassemblefield. -
validate
Sets the specified value to thevalidatefield. -
emit_nonsemantic_shader_debug_info
Sets the specified value to theemit_nonsemantic_shader_debug_infofield. -
emit_nonsemantic_shader_debug_source
Sets the specified value to theemit_nonsemantic_shader_debug_sourcefield. -
compile_only
Sets the specified value to thecompile_onlyfield. -
optimize_allow_expanded_id_bound
Sets the specified value to theoptimize_allow_expanded_id_boundfield.
-