public class VkDrmFormatModifierPropertiesListEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If pDrmFormatModifierProperties is NULL, then the function returns in drmFormatModifierCount the number of modifiers compatible with the queried format. Otherwise, the application must set drmFormatModifierCount to the length of the array pDrmFormatModifierProperties; the function will write at most drmFormatModifierCount elements to the array, and will return in drmFormatModifierCount the number of elements written.
Among the elements in array pDrmFormatModifierProperties, each returned drmFormatModifier must be unique.
sType must be STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXTVkDrmFormatModifierPropertiesEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.drmFormatModifierCount – an inout parameter related to the number of modifiers compatible with the format, as described below.pDrmFormatModifierProperties – either NULL or an array of VkDrmFormatModifierPropertiesEXT structures.
struct VkDrmFormatModifierPropertiesListEXT {
VkStructureType sType;
void * pNext;
uint32_t drmFormatModifierCount;
VkDrmFormatModifierPropertiesEXT * pDrmFormatModifierProperties;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDrmFormatModifierPropertiesListEXT.Buffer
An array of
VkDrmFormatModifierPropertiesListEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DRMFORMATMODIFIERCOUNT
The struct member offsets.
|
static int |
PDRMFORMATMODIFIERPROPERTIES
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 |
|---|
VkDrmFormatModifierPropertiesListEXT(java.nio.ByteBuffer container)
Creates a
VkDrmFormatModifierPropertiesListEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDrmFormatModifierPropertiesListEXT |
calloc()
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated with memCalloc. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
calloc(int capacity)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with memCalloc. |
static VkDrmFormatModifierPropertiesListEXT |
callocStack()
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
callocStack(int capacity)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDrmFormatModifierPropertiesListEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDrmFormatModifierPropertiesListEXT |
create()
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated with BufferUtils. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
create(int capacity)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with BufferUtils. |
static VkDrmFormatModifierPropertiesListEXT |
create(long address)
Returns a new
VkDrmFormatModifierPropertiesListEXT instance for the specified memory address. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
create(long address,
int capacity)
Create a
VkDrmFormatModifierPropertiesListEXT.Buffer instance at the specified memory. |
static VkDrmFormatModifierPropertiesListEXT |
createSafe(long address)
|
static VkDrmFormatModifierPropertiesListEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
drmFormatModifierCount()
Returns the value of the
drmFormatModifierCount field. |
static VkDrmFormatModifierPropertiesListEXT |
malloc()
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated with memAlloc. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
malloc(int capacity)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with memAlloc. |
static VkDrmFormatModifierPropertiesListEXT |
mallocStack()
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated on the thread-local MemoryStack. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkDrmFormatModifierPropertiesListEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the specified MemoryStack. |
static VkDrmFormatModifierPropertiesListEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDrmFormatModifierPropertiesListEXT instance allocated on the specified MemoryStack. |
static int |
ndrmFormatModifierCount(long struct)
Unsafe version of
drmFormatModifierCount(). |
static VkDrmFormatModifierPropertiesEXT.Buffer |
npDrmFormatModifierProperties(long struct)
Unsafe version of
pDrmFormatModifierProperties(). |
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. |
VkDrmFormatModifierPropertiesEXT.Buffer |
pDrmFormatModifierProperties()
Returns a
VkDrmFormatModifierPropertiesEXT.Buffer view of the struct array pointed to by the pDrmFormatModifierProperties field. |
long |
pNext()
Returns the value of the
pNext field. |
VkDrmFormatModifierPropertiesListEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDrmFormatModifierPropertiesListEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkDrmFormatModifierPropertiesListEXT |
set(VkDrmFormatModifierPropertiesListEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDrmFormatModifierPropertiesListEXT |
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 DRMFORMATMODIFIERCOUNT
public static final int PDRMFORMATMODIFIERPROPERTIES
public VkDrmFormatModifierPropertiesListEXT(java.nio.ByteBuffer container)
VkDrmFormatModifierPropertiesListEXT 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 drmFormatModifierCount()
drmFormatModifierCount field.@Nullable public VkDrmFormatModifierPropertiesEXT.Buffer pDrmFormatModifierProperties()
VkDrmFormatModifierPropertiesEXT.Buffer view of the struct array pointed to by the pDrmFormatModifierProperties field.public VkDrmFormatModifierPropertiesListEXT sType(int value)
sType field.public VkDrmFormatModifierPropertiesListEXT pNext(long value)
pNext field.public VkDrmFormatModifierPropertiesListEXT set(int sType, long pNext)
public VkDrmFormatModifierPropertiesListEXT set(VkDrmFormatModifierPropertiesListEXT src)
src - the source structpublic static VkDrmFormatModifierPropertiesListEXT malloc()
VkDrmFormatModifierPropertiesListEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkDrmFormatModifierPropertiesListEXT calloc()
VkDrmFormatModifierPropertiesListEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkDrmFormatModifierPropertiesListEXT create()
VkDrmFormatModifierPropertiesListEXT instance allocated with BufferUtils.public static VkDrmFormatModifierPropertiesListEXT create(long address)
VkDrmFormatModifierPropertiesListEXT instance for the specified memory address.@Nullable public static VkDrmFormatModifierPropertiesListEXT createSafe(long address)
public static VkDrmFormatModifierPropertiesListEXT.Buffer malloc(int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer calloc(int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer create(int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer create(long address, int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDrmFormatModifierPropertiesListEXT.Buffer createSafe(long address, int capacity)
public static VkDrmFormatModifierPropertiesListEXT mallocStack()
VkDrmFormatModifierPropertiesListEXT instance allocated on the thread-local MemoryStack.public static VkDrmFormatModifierPropertiesListEXT callocStack()
VkDrmFormatModifierPropertiesListEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDrmFormatModifierPropertiesListEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkDrmFormatModifierPropertiesListEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDrmFormatModifierPropertiesListEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkDrmFormatModifierPropertiesListEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDrmFormatModifierPropertiesListEXT.Buffer mallocStack(int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer callocStack(int capacity)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDrmFormatModifierPropertiesListEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDrmFormatModifierPropertiesListEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDrmFormatModifierPropertiesListEXT.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 ndrmFormatModifierCount(long struct)
drmFormatModifierCount().@Nullable public static VkDrmFormatModifierPropertiesEXT.Buffer npDrmFormatModifierProperties(long struct)
pDrmFormatModifierProperties().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.