public class VkDeviceGeneratedCommandsFeaturesNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVXpNext must be NULLGetPhysicalDeviceGeneratedCommandsPropertiesNVX
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.computeBindingPointSupport – specifies whether the VkObjectTableNVX supports entries with OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX bit set and VkIndirectCommandsLayoutNVX supports PIPELINE_BIND_POINT_COMPUTE.
struct VkDeviceGeneratedCommandsFeaturesNVX {
VkStructureType sType;
void const * pNext;
VkBool32 computeBindingPointSupport;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceGeneratedCommandsFeaturesNVX.Buffer
An array of
VkDeviceGeneratedCommandsFeaturesNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMPUTEBINDINGPOINTSUPPORT
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceGeneratedCommandsFeaturesNVX(java.nio.ByteBuffer container)
Creates a
VkDeviceGeneratedCommandsFeaturesNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceGeneratedCommandsFeaturesNVX |
calloc()
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with memCalloc. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
calloc(int capacity)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with memCalloc. |
static VkDeviceGeneratedCommandsFeaturesNVX |
callocStack()
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceGeneratedCommandsFeaturesNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
boolean |
computeBindingPointSupport()
Returns the value of the
computeBindingPointSupport field. |
VkDeviceGeneratedCommandsFeaturesNVX |
computeBindingPointSupport(boolean value)
Sets the specified value to the
computeBindingPointSupport field. |
static VkDeviceGeneratedCommandsFeaturesNVX |
create()
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with BufferUtils. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
create(int capacity)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with BufferUtils. |
static VkDeviceGeneratedCommandsFeaturesNVX |
create(long address)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance for the specified memory address. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
create(long address,
int capacity)
Create a
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance at the specified memory. |
static VkDeviceGeneratedCommandsFeaturesNVX |
createSafe(long address)
|
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceGeneratedCommandsFeaturesNVX |
malloc()
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with memAlloc. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
malloc(int capacity)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with memAlloc. |
static VkDeviceGeneratedCommandsFeaturesNVX |
mallocStack()
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the thread-local MemoryStack. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceGeneratedCommandsFeaturesNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceGeneratedCommandsFeaturesNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the specified MemoryStack. |
static int |
ncomputeBindingPointSupport(long struct)
Unsafe version of
computeBindingPointSupport(). |
static void |
ncomputeBindingPointSupport(long struct,
int value)
Unsafe version of
computeBindingPointSupport. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceGeneratedCommandsFeaturesNVX |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceGeneratedCommandsFeaturesNVX |
set(int sType,
long pNext,
boolean computeBindingPointSupport)
Initializes this struct with the specified values.
|
VkDeviceGeneratedCommandsFeaturesNVX |
set(VkDeviceGeneratedCommandsFeaturesNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceGeneratedCommandsFeaturesNVX |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int COMPUTEBINDINGPOINTSUPPORT
public VkDeviceGeneratedCommandsFeaturesNVX(java.nio.ByteBuffer container)
VkDeviceGeneratedCommandsFeaturesNVX instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean computeBindingPointSupport()
computeBindingPointSupport field.public VkDeviceGeneratedCommandsFeaturesNVX sType(int value)
sType field.public VkDeviceGeneratedCommandsFeaturesNVX pNext(long value)
pNext field.public VkDeviceGeneratedCommandsFeaturesNVX computeBindingPointSupport(boolean value)
computeBindingPointSupport field.public VkDeviceGeneratedCommandsFeaturesNVX set(int sType, long pNext, boolean computeBindingPointSupport)
public VkDeviceGeneratedCommandsFeaturesNVX set(VkDeviceGeneratedCommandsFeaturesNVX src)
src - the source structpublic static VkDeviceGeneratedCommandsFeaturesNVX malloc()
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceGeneratedCommandsFeaturesNVX calloc()
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceGeneratedCommandsFeaturesNVX create()
VkDeviceGeneratedCommandsFeaturesNVX instance allocated with BufferUtils.public static VkDeviceGeneratedCommandsFeaturesNVX create(long address)
VkDeviceGeneratedCommandsFeaturesNVX instance for the specified memory address.@Nullable public static VkDeviceGeneratedCommandsFeaturesNVX createSafe(long address)
public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer malloc(int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer calloc(int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer create(int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer create(long address, int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceGeneratedCommandsFeaturesNVX.Buffer createSafe(long address, int capacity)
public static VkDeviceGeneratedCommandsFeaturesNVX mallocStack()
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the thread-local MemoryStack.public static VkDeviceGeneratedCommandsFeaturesNVX callocStack()
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceGeneratedCommandsFeaturesNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceGeneratedCommandsFeaturesNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsFeaturesNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer mallocStack(int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer callocStack(int capacity)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceGeneratedCommandsFeaturesNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceGeneratedCommandsFeaturesNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ncomputeBindingPointSupport(long struct)
computeBindingPointSupport().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ncomputeBindingPointSupport(long struct,
int value)
computeBindingPointSupport.Copyright LWJGL. All Rights Reserved. License terms.