public class VkDescriptorSetLayoutSupport
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
supported is set to TRUE if the descriptor set can be created, or else is set to FALSE.
sType must be STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORTpNext must be NULL or a pointer to a valid instance of VkDescriptorSetVariableDescriptorCountLayoutSupportEXTGetDescriptorSetLayoutSupport, GetDescriptorSetLayoutSupportKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.supported – specifies whether the descriptor set layout can be created.
struct VkDescriptorSetLayoutSupport {
VkStructureType sType;
void * pNext;
VkBool32 supported;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDescriptorSetLayoutSupport.Buffer
An array of
VkDescriptorSetLayoutSupport structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SUPPORTED
The struct member offsets.
|
| Constructor and Description |
|---|
VkDescriptorSetLayoutSupport(java.nio.ByteBuffer container)
Creates a
VkDescriptorSetLayoutSupport instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDescriptorSetLayoutSupport |
calloc()
Returns a new
VkDescriptorSetLayoutSupport instance allocated with memCalloc. |
static VkDescriptorSetLayoutSupport.Buffer |
calloc(int capacity)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated with memCalloc. |
static VkDescriptorSetLayoutSupport |
callocStack()
Returns a new
VkDescriptorSetLayoutSupport instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutSupport.Buffer |
callocStack(int capacity)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutSupport.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutSupport |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutSupport instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorSetLayoutSupport |
create()
Returns a new
VkDescriptorSetLayoutSupport instance allocated with BufferUtils. |
static VkDescriptorSetLayoutSupport.Buffer |
create(int capacity)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated with BufferUtils. |
static VkDescriptorSetLayoutSupport |
create(long address)
Returns a new
VkDescriptorSetLayoutSupport instance for the specified memory address. |
static VkDescriptorSetLayoutSupport.Buffer |
create(long address,
int capacity)
Create a
VkDescriptorSetLayoutSupport.Buffer instance at the specified memory. |
static VkDescriptorSetLayoutSupport |
createSafe(long address)
|
static VkDescriptorSetLayoutSupport.Buffer |
createSafe(long address,
int capacity)
|
static VkDescriptorSetLayoutSupport |
malloc()
Returns a new
VkDescriptorSetLayoutSupport instance allocated with memAlloc. |
static VkDescriptorSetLayoutSupport.Buffer |
malloc(int capacity)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated with memAlloc. |
static VkDescriptorSetLayoutSupport |
mallocStack()
Returns a new
VkDescriptorSetLayoutSupport instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetLayoutSupport.Buffer |
mallocStack(int capacity)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated on the thread-local MemoryStack. |
static VkDescriptorSetLayoutSupport.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutSupport.Buffer instance allocated on the specified MemoryStack. |
static VkDescriptorSetLayoutSupport |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorSetLayoutSupport instance allocated on the specified MemoryStack. |
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. |
static int |
nsupported(long struct)
Unsafe version of
supported(). |
long |
pNext()
Returns the value of the
pNext field. |
VkDescriptorSetLayoutSupport |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDescriptorSetLayoutSupport |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkDescriptorSetLayoutSupport |
set(VkDescriptorSetLayoutSupport src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDescriptorSetLayoutSupport |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
supported()
Returns the value of the
supported 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 SUPPORTED
public VkDescriptorSetLayoutSupport(java.nio.ByteBuffer container)
VkDescriptorSetLayoutSupport 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 supported()
supported field.public VkDescriptorSetLayoutSupport sType(int value)
sType field.public VkDescriptorSetLayoutSupport pNext(long value)
pNext field.public VkDescriptorSetLayoutSupport set(int sType, long pNext)
public VkDescriptorSetLayoutSupport set(VkDescriptorSetLayoutSupport src)
src - the source structpublic static VkDescriptorSetLayoutSupport malloc()
VkDescriptorSetLayoutSupport instance allocated with memAlloc. The instance must be explicitly freed.public static VkDescriptorSetLayoutSupport calloc()
VkDescriptorSetLayoutSupport instance allocated with memCalloc. The instance must be explicitly freed.public static VkDescriptorSetLayoutSupport create()
VkDescriptorSetLayoutSupport instance allocated with BufferUtils.public static VkDescriptorSetLayoutSupport create(long address)
VkDescriptorSetLayoutSupport instance for the specified memory address.@Nullable public static VkDescriptorSetLayoutSupport createSafe(long address)
public static VkDescriptorSetLayoutSupport.Buffer malloc(int capacity)
VkDescriptorSetLayoutSupport.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer calloc(int capacity)
VkDescriptorSetLayoutSupport.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer create(int capacity)
VkDescriptorSetLayoutSupport.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer create(long address, int capacity)
VkDescriptorSetLayoutSupport.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDescriptorSetLayoutSupport.Buffer createSafe(long address, int capacity)
public static VkDescriptorSetLayoutSupport mallocStack()
VkDescriptorSetLayoutSupport instance allocated on the thread-local MemoryStack.public static VkDescriptorSetLayoutSupport callocStack()
VkDescriptorSetLayoutSupport instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDescriptorSetLayoutSupport mallocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutSupport instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDescriptorSetLayoutSupport callocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutSupport instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDescriptorSetLayoutSupport.Buffer mallocStack(int capacity)
VkDescriptorSetLayoutSupport.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer callocStack(int capacity)
VkDescriptorSetLayoutSupport.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutSupport.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDescriptorSetLayoutSupport.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorSetLayoutSupport.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 nsupported(long struct)
supported().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.