public class VkImageDrmFormatModifierListCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
pDrmFormatModifiers must be compatible with the parameters in VkImageCreateInfo and its pNext chain, as determined by querying VkPhysicalDeviceImageFormatInfo2 extended with VkPhysicalDeviceImageDrmFormatModifierInfoEXT.sType must be STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXTpDrmFormatModifiers must be a valid pointer to an array of drmFormatModifierCount uint64_t valuesdrmFormatModifierCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.drmFormatModifierCount – the length of the pDrmFormatModifiers array.pDrmFormatModifiers – a pointer to an array of Linux DRM format modifiers.
struct VkImageDrmFormatModifierListCreateInfoEXT {
VkStructureType sType;
void const * pNext;
uint32_t drmFormatModifierCount;
uint64_t const * pDrmFormatModifiers;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkImageDrmFormatModifierListCreateInfoEXT.Buffer
An array of
VkImageDrmFormatModifierListCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DRMFORMATMODIFIERCOUNT
The struct member offsets.
|
static int |
PDRMFORMATMODIFIERS
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 |
|---|
VkImageDrmFormatModifierListCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkImageDrmFormatModifierListCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkImageDrmFormatModifierListCreateInfoEXT |
calloc()
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with memCalloc. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkImageDrmFormatModifierListCreateInfoEXT |
callocStack()
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageDrmFormatModifierListCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageDrmFormatModifierListCreateInfoEXT |
create()
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with BufferUtils. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkImageDrmFormatModifierListCreateInfoEXT |
create(long address)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance for the specified memory address. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance at the specified memory. |
static VkImageDrmFormatModifierListCreateInfoEXT |
createSafe(long address)
|
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
drmFormatModifierCount()
Returns the value of the
drmFormatModifierCount field. |
static VkImageDrmFormatModifierListCreateInfoEXT |
malloc()
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with memAlloc. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkImageDrmFormatModifierListCreateInfoEXT |
mallocStack()
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkImageDrmFormatModifierListCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkImageDrmFormatModifierListCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
ndrmFormatModifierCount(long struct)
Unsafe version of
drmFormatModifierCount(). |
static void |
ndrmFormatModifierCount(long struct,
int value)
Sets the specified value to the
drmFormatModifierCount field of the specified struct. |
static java.nio.LongBuffer |
npDrmFormatModifiers(long struct)
Unsafe version of
pDrmFormatModifiers. |
static void |
npDrmFormatModifiers(long struct,
java.nio.LongBuffer value)
Unsafe version of
pDrmFormatModifiers. |
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. |
java.nio.LongBuffer |
pDrmFormatModifiers()
Returns a
LongBuffer view of the data pointed to by the pDrmFormatModifiers field. |
VkImageDrmFormatModifierListCreateInfoEXT |
pDrmFormatModifiers(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pDrmFormatModifiers field. |
long |
pNext()
Returns the value of the
pNext field. |
VkImageDrmFormatModifierListCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkImageDrmFormatModifierListCreateInfoEXT |
set(int sType,
long pNext,
java.nio.LongBuffer pDrmFormatModifiers)
Initializes this struct with the specified values.
|
VkImageDrmFormatModifierListCreateInfoEXT |
set(VkImageDrmFormatModifierListCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkImageDrmFormatModifierListCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
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 PDRMFORMATMODIFIERS
public VkImageDrmFormatModifierListCreateInfoEXT(java.nio.ByteBuffer container)
VkImageDrmFormatModifierListCreateInfoEXT 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.public java.nio.LongBuffer pDrmFormatModifiers()
LongBuffer view of the data pointed to by the pDrmFormatModifiers field.public VkImageDrmFormatModifierListCreateInfoEXT sType(int value)
sType field.public VkImageDrmFormatModifierListCreateInfoEXT pNext(long value)
pNext field.public VkImageDrmFormatModifierListCreateInfoEXT pDrmFormatModifiers(java.nio.LongBuffer value)
LongBuffer to the pDrmFormatModifiers field.public VkImageDrmFormatModifierListCreateInfoEXT set(int sType, long pNext, java.nio.LongBuffer pDrmFormatModifiers)
public VkImageDrmFormatModifierListCreateInfoEXT set(VkImageDrmFormatModifierListCreateInfoEXT src)
src - the source structpublic static VkImageDrmFormatModifierListCreateInfoEXT malloc()
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkImageDrmFormatModifierListCreateInfoEXT calloc()
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkImageDrmFormatModifierListCreateInfoEXT create()
VkImageDrmFormatModifierListCreateInfoEXT instance allocated with BufferUtils.public static VkImageDrmFormatModifierListCreateInfoEXT create(long address)
VkImageDrmFormatModifierListCreateInfoEXT instance for the specified memory address.@Nullable public static VkImageDrmFormatModifierListCreateInfoEXT createSafe(long address)
public static VkImageDrmFormatModifierListCreateInfoEXT.Buffer malloc(int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer calloc(int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer create(int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer create(long address, int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkImageDrmFormatModifierListCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkImageDrmFormatModifierListCreateInfoEXT mallocStack()
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkImageDrmFormatModifierListCreateInfoEXT callocStack()
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkImageDrmFormatModifierListCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkImageDrmFormatModifierListCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkImageDrmFormatModifierListCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer mallocStack(int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer callocStack(int capacity)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageDrmFormatModifierListCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkImageDrmFormatModifierListCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageDrmFormatModifierListCreateInfoEXT.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().public static java.nio.LongBuffer npDrmFormatModifiers(long struct)
pDrmFormatModifiers.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndrmFormatModifierCount(long struct,
int value)
drmFormatModifierCount field of the specified struct.public static void npDrmFormatModifiers(long struct,
java.nio.LongBuffer value)
pDrmFormatModifiers.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.