Package org.lwjgl.vulkan
Class VkDeviceGeneratedCommandsFeaturesNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGeneratedCommandsFeaturesNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDeviceGeneratedCommandsFeaturesNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying physical device support.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVXpNextmust beNULL
See Also
GetPhysicalDeviceGeneratedCommandsPropertiesNVXMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.computeBindingPointSupport– specifies whether theVkObjectTableNVXsupports entries withOBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVXbit set andVkIndirectCommandsLayoutNVXsupportsPIPELINE_BIND_POINT_COMPUTE.
Layout
struct VkDeviceGeneratedCommandsFeaturesNVX { VkStructureType sType; void const * pNext; VkBool32 computeBindingPointSupport; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceGeneratedCommandsFeaturesNVX.BufferAn array ofVkDeviceGeneratedCommandsFeaturesNVXstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOMPUTEBINDINGPOINTSUPPORT
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkDeviceGeneratedCommandsFeaturesNVX(java.nio.ByteBuffer container)Creates aVkDeviceGeneratedCommandsFeaturesNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGeneratedCommandsFeaturesNVXcalloc()Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withmemCalloc.static VkDeviceGeneratedCommandsFeaturesNVX.Buffercalloc(int capacity)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withmemCalloc.static VkDeviceGeneratedCommandsFeaturesNVXcallocStack()Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsFeaturesNVX.BuffercallocStack(int capacity)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsFeaturesNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGeneratedCommandsFeaturesNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleancomputeBindingPointSupport()Returns the value of thecomputeBindingPointSupportfield.VkDeviceGeneratedCommandsFeaturesNVXcomputeBindingPointSupport(boolean value)Sets the specified value to thecomputeBindingPointSupportfield.static VkDeviceGeneratedCommandsFeaturesNVXcreate()Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withBufferUtils.static VkDeviceGeneratedCommandsFeaturesNVX.Buffercreate(int capacity)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withBufferUtils.static VkDeviceGeneratedCommandsFeaturesNVXcreate(long address)Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance for the specified memory address.static VkDeviceGeneratedCommandsFeaturesNVX.Buffercreate(long address, int capacity)Create aVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance at the specified memory.static VkDeviceGeneratedCommandsFeaturesNVXcreateSafe(long address)static VkDeviceGeneratedCommandsFeaturesNVX.BuffercreateSafe(long address, int capacity)static VkDeviceGeneratedCommandsFeaturesNVXmalloc()Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withmemAlloc.static VkDeviceGeneratedCommandsFeaturesNVX.Buffermalloc(int capacity)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withmemAlloc.static VkDeviceGeneratedCommandsFeaturesNVXmallocStack()Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the thread-localMemoryStack.static VkDeviceGeneratedCommandsFeaturesNVX.BuffermallocStack(int capacity)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceGeneratedCommandsFeaturesNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGeneratedCommandsFeaturesNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the specifiedMemoryStack.static intncomputeBindingPointSupport(long struct)Unsafe version ofcomputeBindingPointSupport().static voidncomputeBindingPointSupport(long struct, int value)Unsafe version ofcomputeBindingPointSupport.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()Returns the value of thepNextfield.VkDeviceGeneratedCommandsFeaturesNVXpNext(long value)Sets the specified value to thepNextfield.VkDeviceGeneratedCommandsFeaturesNVXset(int sType, long pNext, boolean computeBindingPointSupport)Initializes this struct with the specified values.VkDeviceGeneratedCommandsFeaturesNVXset(VkDeviceGeneratedCommandsFeaturesNVX src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkDeviceGeneratedCommandsFeaturesNVXsType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
VkDeviceGeneratedCommandsFeaturesNVX
public VkDeviceGeneratedCommandsFeaturesNVX(java.nio.ByteBuffer container)
Creates aVkDeviceGeneratedCommandsFeaturesNVXinstance 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
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
computeBindingPointSupport
public boolean computeBindingPointSupport()
Returns the value of thecomputeBindingPointSupportfield.
-
sType
public VkDeviceGeneratedCommandsFeaturesNVX sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkDeviceGeneratedCommandsFeaturesNVX pNext(long value)
Sets the specified value to thepNextfield.
-
computeBindingPointSupport
public VkDeviceGeneratedCommandsFeaturesNVX computeBindingPointSupport(boolean value)
Sets the specified value to thecomputeBindingPointSupportfield.
-
set
public VkDeviceGeneratedCommandsFeaturesNVX set(int sType, long pNext, boolean computeBindingPointSupport)
Initializes this struct with the specified values.
-
set
public VkDeviceGeneratedCommandsFeaturesNVX set(VkDeviceGeneratedCommandsFeaturesNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGeneratedCommandsFeaturesNVX malloc()
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceGeneratedCommandsFeaturesNVX calloc()
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceGeneratedCommandsFeaturesNVX create()
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated withBufferUtils.
-
create
public static VkDeviceGeneratedCommandsFeaturesNVX create(long address)
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGeneratedCommandsFeaturesNVX createSafe(long address)
-
malloc
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer malloc(int capacity)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer calloc(int capacity)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer create(int capacity)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer create(long address, int capacity)
Create aVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGeneratedCommandsFeaturesNVX mallocStack()
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceGeneratedCommandsFeaturesNVX callocStack()
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceGeneratedCommandsFeaturesNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceGeneratedCommandsFeaturesNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsFeaturesNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer mallocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer callocStack(int capacity)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGeneratedCommandsFeaturesNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ncomputeBindingPointSupport
public static int ncomputeBindingPointSupport(long struct)
Unsafe version ofcomputeBindingPointSupport().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ncomputeBindingPointSupport
public static void ncomputeBindingPointSupport(long struct, int value)Unsafe version ofcomputeBindingPointSupport.
-
-