public class VkPhysicalDevicePushDescriptorPropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDevicePushDescriptorPropertiesKHR structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.maxPushDescriptors – the maximum number of descriptors that can be used in a descriptor set created with DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR set.
struct VkPhysicalDevicePushDescriptorPropertiesKHR {
VkStructureType sType;
void * pNext;
uint32_t maxPushDescriptors;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer
An array of
VkPhysicalDevicePushDescriptorPropertiesKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MAXPUSHDESCRIPTORS
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 |
|---|
VkPhysicalDevicePushDescriptorPropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDevicePushDescriptorPropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDevicePushDescriptorPropertiesKHR |
calloc()
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with memCalloc. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
callocStack()
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
create()
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with BufferUtils. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
create(long address)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance for the specified memory address. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance at the specified memory. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
createSafe(long address)
|
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDevicePushDescriptorPropertiesKHR |
malloc()
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with memAlloc. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
mallocStack()
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDevicePushDescriptorPropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the specified MemoryStack. |
int |
maxPushDescriptors()
Returns the value of the
maxPushDescriptors field. |
static int |
nmaxPushDescriptors(long struct)
Unsafe version of
maxPushDescriptors(). |
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. |
VkPhysicalDevicePushDescriptorPropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDevicePushDescriptorPropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDevicePushDescriptorPropertiesKHR |
set(VkPhysicalDevicePushDescriptorPropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDevicePushDescriptorPropertiesKHR |
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 MAXPUSHDESCRIPTORS
public VkPhysicalDevicePushDescriptorPropertiesKHR(java.nio.ByteBuffer container)
VkPhysicalDevicePushDescriptorPropertiesKHR 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 int maxPushDescriptors()
maxPushDescriptors field.public VkPhysicalDevicePushDescriptorPropertiesKHR sType(int value)
sType field.public VkPhysicalDevicePushDescriptorPropertiesKHR pNext(long value)
pNext field.public VkPhysicalDevicePushDescriptorPropertiesKHR set(int sType, long pNext)
public VkPhysicalDevicePushDescriptorPropertiesKHR set(VkPhysicalDevicePushDescriptorPropertiesKHR src)
src - the source structpublic static VkPhysicalDevicePushDescriptorPropertiesKHR malloc()
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDevicePushDescriptorPropertiesKHR calloc()
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDevicePushDescriptorPropertiesKHR create()
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated with BufferUtils.public static VkPhysicalDevicePushDescriptorPropertiesKHR create(long address)
VkPhysicalDevicePushDescriptorPropertiesKHR instance for the specified memory address.@Nullable public static VkPhysicalDevicePushDescriptorPropertiesKHR createSafe(long address)
public static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer malloc(int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer calloc(int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer create(int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer create(long address, int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDevicePushDescriptorPropertiesKHR mallocStack()
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDevicePushDescriptorPropertiesKHR callocStack()
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDevicePushDescriptorPropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDevicePushDescriptorPropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePushDescriptorPropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer mallocStack(int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer callocStack(int capacity)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDevicePushDescriptorPropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDevicePushDescriptorPropertiesKHR.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 nmaxPushDescriptors(long struct)
maxPushDescriptors().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.