Package org.lwjgl.vulkan
Class VkObjectTableEntryNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkObjectTableEntryNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkObjectTableEntryNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceCommon parameters of an object table resource entry.Valid Usage
- If the
VkDeviceGeneratedCommandsFeaturesNVX::computeBindingPointSupportfeature is not enabled,flagsmust not containOBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX
Valid Usage (Implicit)
typemust be a validVkObjectEntryTypeNVXvalueflagsmust be a valid combination ofVkObjectEntryUsageFlagBitsNVXvaluesflagsmust not be 0
See Also
Member documentation
type– defines the entry typeflags– defines whichVkPipelineBindPointthe resource can be used with. Some entry types allow only a single flag to be set.
Layout
struct VkObjectTableEntryNVX { VkObjectEntryTypeNVX type; VkObjectEntryUsageFlagsNVX flags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkObjectTableEntryNVX.BufferAn array ofVkObjectTableEntryNVXstructs.
-
Constructor Summary
Constructors Constructor Description VkObjectTableEntryNVX(java.nio.ByteBuffer container)Creates aVkObjectTableEntryNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTableEntryNVXcalloc()Returns a newVkObjectTableEntryNVXinstance allocated withmemCalloc.static VkObjectTableEntryNVX.Buffercalloc(int capacity)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withmemCalloc.static VkObjectTableEntryNVXcallocStack()Returns a newVkObjectTableEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTableEntryNVX.BuffercallocStack(int capacity)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTableEntryNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTableEntryNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTableEntryNVXcreate()Returns a newVkObjectTableEntryNVXinstance allocated withBufferUtils.static VkObjectTableEntryNVX.Buffercreate(int capacity)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withBufferUtils.static VkObjectTableEntryNVXcreate(long address)Returns a newVkObjectTableEntryNVXinstance for the specified memory address.static VkObjectTableEntryNVX.Buffercreate(long address, int capacity)Create aVkObjectTableEntryNVX.Bufferinstance at the specified memory.static VkObjectTableEntryNVXcreateSafe(long address)static VkObjectTableEntryNVX.BuffercreateSafe(long address, int capacity)intflags()Returns the value of theflagsfield.VkObjectTableEntryNVXflags(int value)Sets the specified value to theflagsfield.static VkObjectTableEntryNVXmalloc()Returns a newVkObjectTableEntryNVXinstance allocated withmemAlloc.static VkObjectTableEntryNVX.Buffermalloc(int capacity)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withmemAlloc.static VkObjectTableEntryNVXmallocStack()Returns a newVkObjectTableEntryNVXinstance allocated on the thread-localMemoryStack.static VkObjectTableEntryNVX.BuffermallocStack(int capacity)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkObjectTableEntryNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkObjectTableEntryNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTableEntryNVXinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.VkObjectTableEntryNVXset(int type, int flags)Initializes this struct with the specified values.VkObjectTableEntryNVXset(VkObjectTableEntryNVX src)Copies the specified struct data to this struct.intsizeof()inttype()Returns the value of thetypefield.VkObjectTableEntryNVXtype(int value)Sets the specified value to thetypefield.
-
-
-
Constructor Detail
-
VkObjectTableEntryNVX
public VkObjectTableEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTableEntryNVXinstance 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.
-
type
public VkObjectTableEntryNVX type(int value)
Sets the specified value to thetypefield.
-
flags
public VkObjectTableEntryNVX flags(int value)
Sets the specified value to theflagsfield.
-
set
public VkObjectTableEntryNVX set(int type, int flags)
Initializes this struct with the specified values.
-
set
public VkObjectTableEntryNVX set(VkObjectTableEntryNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkObjectTableEntryNVX malloc()
Returns a newVkObjectTableEntryNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkObjectTableEntryNVX calloc()
Returns a newVkObjectTableEntryNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkObjectTableEntryNVX create()
Returns a newVkObjectTableEntryNVXinstance allocated withBufferUtils.
-
create
public static VkObjectTableEntryNVX create(long address)
Returns a newVkObjectTableEntryNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTableEntryNVX createSafe(long address)
-
malloc
public static VkObjectTableEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkObjectTableEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTableEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTableEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTableEntryNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkObjectTableEntryNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkObjectTableEntryNVX mallocStack()
Returns a newVkObjectTableEntryNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkObjectTableEntryNVX callocStack()
Returns a newVkObjectTableEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkObjectTableEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableEntryNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkObjectTableEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkObjectTableEntryNVX.Buffer mallocStack(int capacity)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkObjectTableEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkObjectTableEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkObjectTableEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTableEntryNVX.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().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
-