Package org.lwjgl.vulkan
Class VkGeneratedCommandsInfoEXT.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkGeneratedCommandsInfoEXT.Buffer>
org.lwjgl.system.StructBuffer<VkGeneratedCommandsInfoEXT,VkGeneratedCommandsInfoEXT.Buffer>
org.lwjgl.vulkan.VkGeneratedCommandsInfoEXT.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkGeneratedCommandsInfoEXT>,NativeResource,Pointer
- Enclosing class:
VkGeneratedCommandsInfoEXT
public static class VkGeneratedCommandsInfoEXT.Buffer
extends StructBuffer<VkGeneratedCommandsInfoEXT,VkGeneratedCommandsInfoEXT.Buffer>
implements NativeResource
An array of
VkGeneratedCommandsInfoEXT 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 newVkGeneratedCommandsInfoEXT.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongindirectAddress(long value) Sets the specified value to theindirectAddressfield.longindirectAddressSize(long value) Sets the specified value to theindirectAddressSizefield.longindirectCommandsLayout(long value) Sets the specified value to theindirectCommandsLayoutfield.longindirectExecutionSet(long value) Sets the specified value to theindirectExecutionSetfield.intmaxDrawCount(int value) Sets the specified value to themaxDrawCountfield.intmaxSequenceCount(int value) Sets the specified value to themaxSequenceCountfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkGeneratedCommandsPipelineInfoEXTvalue to thepNextchain.Prepends the specifiedVkGeneratedCommandsShaderInfoEXTvalue to thepNextchain.longpreprocessAddress(long value) Sets the specified value to thepreprocessAddressfield.longpreprocessSize(long value) Sets the specified value to thepreprocessSizefield.longsequenceCountAddress(long value) Sets the specified value to thesequenceCountAddressfield.intshaderStages(int value) Sets the specified value to theshaderStagesfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXTvalue to thesTypefield.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 newVkGeneratedCommandsInfoEXT.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
VkGeneratedCommandsInfoEXT.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
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
shaderStages
public int shaderStages()- Returns:
- the value of the
shaderStagesfield.
-
indirectExecutionSet
public long indirectExecutionSet()- Returns:
- the value of the
indirectExecutionSetfield.
-
indirectCommandsLayout
public long indirectCommandsLayout()- Returns:
- the value of the
indirectCommandsLayoutfield.
-
indirectAddress
public long indirectAddress()- Returns:
- the value of the
indirectAddressfield.
-
indirectAddressSize
public long indirectAddressSize()- Returns:
- the value of the
indirectAddressSizefield.
-
preprocessAddress
public long preprocessAddress()- Returns:
- the value of the
preprocessAddressfield.
-
preprocessSize
public long preprocessSize()- Returns:
- the value of the
preprocessSizefield.
-
maxSequenceCount
public int maxSequenceCount()- Returns:
- the value of the
maxSequenceCountfield.
-
sequenceCountAddress
public long sequenceCountAddress()- Returns:
- the value of the
sequenceCountAddressfield.
-
maxDrawCount
public int maxDrawCount()- Returns:
- the value of the
maxDrawCountfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_GENERATED_COMMANDS_INFO_EXTvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkGeneratedCommandsPipelineInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkGeneratedCommandsShaderInfoEXTvalue to thepNextchain. -
shaderStages
Sets the specified value to theshaderStagesfield. -
indirectExecutionSet
Sets the specified value to theindirectExecutionSetfield. -
indirectCommandsLayout
Sets the specified value to theindirectCommandsLayoutfield. -
indirectAddress
Sets the specified value to theindirectAddressfield. -
indirectAddressSize
Sets the specified value to theindirectAddressSizefield. -
preprocessAddress
Sets the specified value to thepreprocessAddressfield. -
preprocessSize
Sets the specified value to thepreprocessSizefield. -
maxSequenceCount
Sets the specified value to themaxSequenceCountfield. -
sequenceCountAddress
Sets the specified value to thesequenceCountAddressfield. -
maxDrawCount
Sets the specified value to themaxDrawCountfield.
-