Package org.lwjgl.vulkan
Class VkObjectTableDescriptorSetEntryNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkObjectTableDescriptorSetEntryNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkObjectTableDescriptorSetEntryNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceParameters of an object table descriptor set entry.Valid Usage
typemust beOBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX
Valid Usage (Implicit)
typemust be a validVkObjectEntryTypeNVXvalueflagsmust be a valid combination ofVkObjectEntryUsageFlagBitsNVXvaluesflagsmust not be 0pipelineLayoutmust be a validVkPipelineLayouthandledescriptorSetmust be a validVkDescriptorSethandle- Both of
descriptorSet, andpipelineLayoutmust have been created, allocated, or retrieved from the sameVkDevice
Member documentation
pipelineLayout– specifies theVkPipelineLayoutthat thedescriptorSetis used with.descriptorSet– specifies theVkDescriptorSetthat can be bound with this entry.
Layout
struct VkObjectTableDescriptorSetEntryNVX { VkObjectEntryTypeNVX type; VkObjectEntryUsageFlagsNVX flags; VkPipelineLayout pipelineLayout; VkDescriptorSet descriptorSet; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkObjectTableDescriptorSetEntryNVX.BufferAn array ofVkObjectTableDescriptorSetEntryNVXstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDESCRIPTORSET
FLAGS
PIPELINELAYOUTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)Creates aVkObjectTableDescriptorSetEntryNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTableDescriptorSetEntryNVXcalloc()Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withmemCalloc.static VkObjectTableDescriptorSetEntryNVX.Buffercalloc(int capacity)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withmemCalloc.static VkObjectTableDescriptorSetEntryNVXcallocStack()Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX.BuffercallocStack(int capacity)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVXcreate()Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withBufferUtils.static VkObjectTableDescriptorSetEntryNVX.Buffercreate(int capacity)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withBufferUtils.static VkObjectTableDescriptorSetEntryNVXcreate(long address)Returns a newVkObjectTableDescriptorSetEntryNVXinstance for the specified memory address.static VkObjectTableDescriptorSetEntryNVX.Buffercreate(long address, int capacity)Create aVkObjectTableDescriptorSetEntryNVX.Bufferinstance at the specified memory.static VkObjectTableDescriptorSetEntryNVXcreateSafe(long address)static VkObjectTableDescriptorSetEntryNVX.BuffercreateSafe(long address, int capacity)longdescriptorSet()Returns the value of thedescriptorSetfield.VkObjectTableDescriptorSetEntryNVXdescriptorSet(long value)Sets the specified value to thedescriptorSetfield.intflags()Returns the value of theflagsfield.VkObjectTableDescriptorSetEntryNVXflags(int value)Sets the specified value to theflagsfield.static VkObjectTableDescriptorSetEntryNVXmalloc()Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withmemAlloc.static VkObjectTableDescriptorSetEntryNVX.Buffermalloc(int capacity)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withmemAlloc.static VkObjectTableDescriptorSetEntryNVXmallocStack()Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the thread-localMemoryStack.static VkObjectTableDescriptorSetEntryNVX.BuffermallocStack(int capacity)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkObjectTableDescriptorSetEntryNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkObjectTableDescriptorSetEntryNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the specifiedMemoryStack.static longndescriptorSet(long struct)Unsafe version ofdescriptorSet().static voidndescriptorSet(long struct, long value)Unsafe version ofdescriptorSet.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpipelineLayout(long struct)Unsafe version ofpipelineLayout().static voidnpipelineLayout(long struct, long value)Unsafe version ofpipelineLayout.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.longpipelineLayout()Returns the value of thepipelineLayoutfield.VkObjectTableDescriptorSetEntryNVXpipelineLayout(long value)Sets the specified value to thepipelineLayoutfield.VkObjectTableDescriptorSetEntryNVXset(int type, int flags, long pipelineLayout, long descriptorSet)Initializes this struct with the specified values.VkObjectTableDescriptorSetEntryNVXset(VkObjectTableDescriptorSetEntryNVX src)Copies the specified struct data to this struct.intsizeof()inttype()Returns the value of thetypefield.VkObjectTableDescriptorSetEntryNVXtype(int value)Sets the specified value to thetypefield.
-
-
-
Constructor Detail
-
VkObjectTableDescriptorSetEntryNVX
public VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTableDescriptorSetEntryNVXinstance 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
-
type
public int type()
Returns the value of thetypefield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
pipelineLayout
public long pipelineLayout()
Returns the value of thepipelineLayoutfield.
-
descriptorSet
public long descriptorSet()
Returns the value of thedescriptorSetfield.
-
type
public VkObjectTableDescriptorSetEntryNVX type(int value)
Sets the specified value to thetypefield.
-
flags
public VkObjectTableDescriptorSetEntryNVX flags(int value)
Sets the specified value to theflagsfield.
-
pipelineLayout
public VkObjectTableDescriptorSetEntryNVX pipelineLayout(long value)
Sets the specified value to thepipelineLayoutfield.
-
descriptorSet
public VkObjectTableDescriptorSetEntryNVX descriptorSet(long value)
Sets the specified value to thedescriptorSetfield.
-
set
public VkObjectTableDescriptorSetEntryNVX set(int type, int flags, long pipelineLayout, long descriptorSet)
Initializes this struct with the specified values.
-
set
public VkObjectTableDescriptorSetEntryNVX set(VkObjectTableDescriptorSetEntryNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkObjectTableDescriptorSetEntryNVX malloc()
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkObjectTableDescriptorSetEntryNVX calloc()
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkObjectTableDescriptorSetEntryNVX create()
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated withBufferUtils.
-
create
public static VkObjectTableDescriptorSetEntryNVX create(long address)
Returns a newVkObjectTableDescriptorSetEntryNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTableDescriptorSetEntryNVX createSafe(long address)
-
malloc
public static VkObjectTableDescriptorSetEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkObjectTableDescriptorSetEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTableDescriptorSetEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTableDescriptorSetEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTableDescriptorSetEntryNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkObjectTableDescriptorSetEntryNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkObjectTableDescriptorSetEntryNVX mallocStack()
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX callocStack()
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkObjectTableDescriptorSetEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkObjectTableDescriptorSetEntryNVX.Buffer mallocStack(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkObjectTableDescriptorSetEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
npipelineLayout
public static long npipelineLayout(long struct)
Unsafe version ofpipelineLayout().
-
ndescriptorSet
public static long ndescriptorSet(long struct)
Unsafe version ofdescriptorSet().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
npipelineLayout
public static void npipelineLayout(long struct, long value)Unsafe version ofpipelineLayout.
-
ndescriptorSet
public static void ndescriptorSet(long struct, long value)Unsafe version ofdescriptorSet.
-
-