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.NativeResource
Parameters of an object table descriptor set entry.Valid Usage
type
must beOBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX
Valid Usage (Implicit)
type
must be a validVkObjectEntryTypeNVX
valueflags
must be a valid combination ofVkObjectEntryUsageFlagBitsNVX
valuesflags
must not be 0pipelineLayout
must be a validVkPipelineLayout
handledescriptorSet
must be a validVkDescriptorSet
handle- Both of
descriptorSet
, andpipelineLayout
must have been created, allocated, or retrieved from the sameVkDevice
Member documentation
pipelineLayout
– specifies theVkPipelineLayout
that thedescriptorSet
is used with.descriptorSet
– specifies theVkDescriptorSet
that 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 class
VkObjectTableDescriptorSetEntryNVX.Buffer
An array ofVkObjectTableDescriptorSetEntryNVX
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
DESCRIPTORSET
FLAGS
PIPELINELAYOUTThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
TYPE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTableDescriptorSetEntryNVX
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTableDescriptorSetEntryNVX
calloc()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated withmemCalloc
.static VkObjectTableDescriptorSetEntryNVX.Buffer
calloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withmemCalloc
.static VkObjectTableDescriptorSetEntryNVX
callocStack()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX.Buffer
callocStack(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkObjectTableDescriptorSetEntryNVX
create()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated withBufferUtils
.static VkObjectTableDescriptorSetEntryNVX.Buffer
create(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withBufferUtils
.static VkObjectTableDescriptorSetEntryNVX
create(long address)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance for the specified memory address.static VkObjectTableDescriptorSetEntryNVX.Buffer
create(long address, int capacity)
Create aVkObjectTableDescriptorSetEntryNVX.Buffer
instance at the specified memory.static VkObjectTableDescriptorSetEntryNVX
createSafe(long address)
static VkObjectTableDescriptorSetEntryNVX.Buffer
createSafe(long address, int capacity)
long
descriptorSet()
Returns the value of thedescriptorSet
field.VkObjectTableDescriptorSetEntryNVX
descriptorSet(long value)
Sets the specified value to thedescriptorSet
field.int
flags()
Returns the value of theflags
field.VkObjectTableDescriptorSetEntryNVX
flags(int value)
Sets the specified value to theflags
field.static VkObjectTableDescriptorSetEntryNVX
malloc()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated withmemAlloc
.static VkObjectTableDescriptorSetEntryNVX.Buffer
malloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withmemAlloc
.static VkObjectTableDescriptorSetEntryNVX
mallocStack()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the thread-localMemoryStack
.static VkObjectTableDescriptorSetEntryNVX.Buffer
mallocStack(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
.static VkObjectTableDescriptorSetEntryNVX.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated on the specifiedMemoryStack
.static VkObjectTableDescriptorSetEntryNVX
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the specifiedMemoryStack
.static long
ndescriptorSet(long struct)
Unsafe version ofdescriptorSet()
.static void
ndescriptorSet(long struct, long value)
Unsafe version ofdescriptorSet
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static long
npipelineLayout(long struct)
Unsafe version ofpipelineLayout()
.static void
npipelineLayout(long struct, long value)
Unsafe version ofpipelineLayout
.static int
ntype(long struct)
Unsafe version oftype()
.static void
ntype(long struct, int value)
Unsafe version oftype
.long
pipelineLayout()
Returns the value of thepipelineLayout
field.VkObjectTableDescriptorSetEntryNVX
pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.VkObjectTableDescriptorSetEntryNVX
set(int type, int flags, long pipelineLayout, long descriptorSet)
Initializes this struct with the specified values.VkObjectTableDescriptorSetEntryNVX
set(VkObjectTableDescriptorSetEntryNVX src)
Copies the specified struct data to this struct.int
sizeof()
int
type()
Returns the value of thetype
field.VkObjectTableDescriptorSetEntryNVX
type(int value)
Sets the specified value to thetype
field.
-
-
-
Constructor Detail
-
VkObjectTableDescriptorSetEntryNVX
public VkObjectTableDescriptorSetEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTableDescriptorSetEntryNVX
instance at the current position of the specifiedByteBuffer
container. 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:
sizeof
in classorg.lwjgl.system.Struct
-
type
public int type()
Returns the value of thetype
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
pipelineLayout
public long pipelineLayout()
Returns the value of thepipelineLayout
field.
-
descriptorSet
public long descriptorSet()
Returns the value of thedescriptorSet
field.
-
type
public VkObjectTableDescriptorSetEntryNVX type(int value)
Sets the specified value to thetype
field.
-
flags
public VkObjectTableDescriptorSetEntryNVX flags(int value)
Sets the specified value to theflags
field.
-
pipelineLayout
public VkObjectTableDescriptorSetEntryNVX pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.
-
descriptorSet
public VkObjectTableDescriptorSetEntryNVX descriptorSet(long value)
Sets the specified value to thedescriptorSet
field.
-
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 newVkObjectTableDescriptorSetEntryNVX
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkObjectTableDescriptorSetEntryNVX calloc()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkObjectTableDescriptorSetEntryNVX create()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated withBufferUtils
.
-
create
public static VkObjectTableDescriptorSetEntryNVX create(long address)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTableDescriptorSetEntryNVX createSafe(long address)
-
malloc
public static VkObjectTableDescriptorSetEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkObjectTableDescriptorSetEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkObjectTableDescriptorSetEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkObjectTableDescriptorSetEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTableDescriptorSetEntryNVX.Buffer
instance 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 newVkObjectTableDescriptorSetEntryNVX
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX callocStack()
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkObjectTableDescriptorSetEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableDescriptorSetEntryNVX
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkObjectTableDescriptorSetEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTableDescriptorSetEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-
-