Package org.lwjgl.vulkan
Class VkSetStateFlagsIndirectCommandNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSetStateFlagsIndirectCommandNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSetStateFlagsIndirectCommandNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying input data for a single state flag command token.Layout
struct VkSetStateFlagsIndirectCommandNV { uint32_tdata(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSetStateFlagsIndirectCommandNV.BufferAn array ofVkSetStateFlagsIndirectCommandNVstructs.
-
Constructor Summary
Constructors Constructor Description VkSetStateFlagsIndirectCommandNV(java.nio.ByteBuffer container)Creates aVkSetStateFlagsIndirectCommandNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkSetStateFlagsIndirectCommandNVcalloc()Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withmemCalloc.static VkSetStateFlagsIndirectCommandNV.Buffercalloc(int capacity)Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withmemCalloc.static VkSetStateFlagsIndirectCommandNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSetStateFlagsIndirectCommandNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSetStateFlagsIndirectCommandNVcreate()Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withBufferUtils.static VkSetStateFlagsIndirectCommandNV.Buffercreate(int capacity)Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withBufferUtils.static VkSetStateFlagsIndirectCommandNVcreate(long address)Returns a newVkSetStateFlagsIndirectCommandNVinstance for the specified memory address.static VkSetStateFlagsIndirectCommandNV.Buffercreate(long address, int capacity)Create aVkSetStateFlagsIndirectCommandNV.Bufferinstance at the specified memory.static VkSetStateFlagsIndirectCommandNVcreateSafe(long address)static VkSetStateFlagsIndirectCommandNV.BuffercreateSafe(long address, int capacity)intdata()encodes packed state that this command alters.VkSetStateFlagsIndirectCommandNVdata(int value)Sets the specified value to thedata()field.static VkSetStateFlagsIndirectCommandNVmalloc()Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withmemAlloc.static VkSetStateFlagsIndirectCommandNV.Buffermalloc(int capacity)Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withmemAlloc.static VkSetStateFlagsIndirectCommandNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.static VkSetStateFlagsIndirectCommandNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated on the specifiedMemoryStack.static intndata(long struct)Unsafe version ofdata().static voidndata(long struct, int value)Unsafe version ofdata.VkSetStateFlagsIndirectCommandNVset(VkSetStateFlagsIndirectCommandNV src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
VkSetStateFlagsIndirectCommandNV
public VkSetStateFlagsIndirectCommandNV(java.nio.ByteBuffer container)
Creates aVkSetStateFlagsIndirectCommandNVinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
data
public int data()
encodes packed state that this command alters.- Bit 0: If set represents
FRONT_FACE_CLOCKWISE, otherwiseFRONT_FACE_COUNTER_CLOCKWISE
- Bit 0: If set represents
-
data
public VkSetStateFlagsIndirectCommandNV data(int value)
Sets the specified value to thedata()field.
-
set
public VkSetStateFlagsIndirectCommandNV set(VkSetStateFlagsIndirectCommandNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSetStateFlagsIndirectCommandNV malloc()
Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSetStateFlagsIndirectCommandNV calloc()
Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSetStateFlagsIndirectCommandNV create()
Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated withBufferUtils.
-
create
public static VkSetStateFlagsIndirectCommandNV create(long address)
Returns a newVkSetStateFlagsIndirectCommandNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkSetStateFlagsIndirectCommandNV createSafe(long address)
-
malloc
public static VkSetStateFlagsIndirectCommandNV.Buffer malloc(int capacity)
Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSetStateFlagsIndirectCommandNV.Buffer calloc(int capacity)
Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSetStateFlagsIndirectCommandNV.Buffer create(int capacity)
Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSetStateFlagsIndirectCommandNV.Buffer create(long address, int capacity)
Create aVkSetStateFlagsIndirectCommandNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSetStateFlagsIndirectCommandNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkSetStateFlagsIndirectCommandNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSetStateFlagsIndirectCommandNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSetStateFlagsIndirectCommandNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSetStateFlagsIndirectCommandNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSetStateFlagsIndirectCommandNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSetStateFlagsIndirectCommandNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ndata
public static int ndata(long struct)
Unsafe version ofdata().
-
ndata
public static void ndata(long struct, int value)Unsafe version ofdata.
-
-