public class VkExternalImageFormatProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIESsType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.externalMemoryProperties – a VkExternalMemoryProperties structure specifying various capabilities of the external handle type when used with the specified image creation parameters.
struct VkExternalImageFormatProperties {
VkStructureType sType;
void * pNext;
VkExternalMemoryProperties externalMemoryProperties;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalImageFormatProperties.Buffer
An array of
VkExternalImageFormatProperties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXTERNALMEMORYPROPERTIES
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 |
|---|
VkExternalImageFormatProperties(java.nio.ByteBuffer container)
Creates a
VkExternalImageFormatProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalImageFormatProperties |
calloc()
Returns a new
VkExternalImageFormatProperties instance allocated with memCalloc. |
static VkExternalImageFormatProperties.Buffer |
calloc(int capacity)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated with memCalloc. |
static VkExternalImageFormatProperties |
callocStack()
Returns a new
VkExternalImageFormatProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatProperties.Buffer |
callocStack(int capacity)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatProperties |
create()
Returns a new
VkExternalImageFormatProperties instance allocated with BufferUtils. |
static VkExternalImageFormatProperties.Buffer |
create(int capacity)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated with BufferUtils. |
static VkExternalImageFormatProperties |
create(long address)
Returns a new
VkExternalImageFormatProperties instance for the specified memory address. |
static VkExternalImageFormatProperties.Buffer |
create(long address,
int capacity)
Create a
VkExternalImageFormatProperties.Buffer instance at the specified memory. |
static VkExternalImageFormatProperties |
createSafe(long address)
|
static VkExternalImageFormatProperties.Buffer |
createSafe(long address,
int capacity)
|
VkExternalMemoryProperties |
externalMemoryProperties()
Returns a
VkExternalMemoryProperties view of the externalMemoryProperties field. |
static VkExternalImageFormatProperties |
malloc()
Returns a new
VkExternalImageFormatProperties instance allocated with memAlloc. |
static VkExternalImageFormatProperties.Buffer |
malloc(int capacity)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated with memAlloc. |
static VkExternalImageFormatProperties |
mallocStack()
Returns a new
VkExternalImageFormatProperties instance allocated on the thread-local MemoryStack. |
static VkExternalImageFormatProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalImageFormatProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatProperties.Buffer instance allocated on the specified MemoryStack. |
static VkExternalImageFormatProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatProperties instance allocated on the specified MemoryStack. |
static VkExternalMemoryProperties |
nexternalMemoryProperties(long struct)
Unsafe version of
externalMemoryProperties(). |
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. |
VkExternalImageFormatProperties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExternalImageFormatProperties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkExternalImageFormatProperties |
set(VkExternalImageFormatProperties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkExternalImageFormatProperties |
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 EXTERNALMEMORYPROPERTIES
public VkExternalImageFormatProperties(java.nio.ByteBuffer container)
VkExternalImageFormatProperties 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 VkExternalMemoryProperties externalMemoryProperties()
VkExternalMemoryProperties view of the externalMemoryProperties field.public VkExternalImageFormatProperties sType(int value)
sType field.public VkExternalImageFormatProperties pNext(long value)
pNext field.public VkExternalImageFormatProperties set(int sType, long pNext)
public VkExternalImageFormatProperties set(VkExternalImageFormatProperties src)
src - the source structpublic static VkExternalImageFormatProperties malloc()
VkExternalImageFormatProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalImageFormatProperties calloc()
VkExternalImageFormatProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalImageFormatProperties create()
VkExternalImageFormatProperties instance allocated with BufferUtils.public static VkExternalImageFormatProperties create(long address)
VkExternalImageFormatProperties instance for the specified memory address.@Nullable public static VkExternalImageFormatProperties createSafe(long address)
public static VkExternalImageFormatProperties.Buffer malloc(int capacity)
VkExternalImageFormatProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer calloc(int capacity)
VkExternalImageFormatProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer create(int capacity)
VkExternalImageFormatProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer create(long address, int capacity)
VkExternalImageFormatProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalImageFormatProperties.Buffer createSafe(long address, int capacity)
public static VkExternalImageFormatProperties mallocStack()
VkExternalImageFormatProperties instance allocated on the thread-local MemoryStack.public static VkExternalImageFormatProperties callocStack()
VkExternalImageFormatProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalImageFormatProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalImageFormatProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalImageFormatProperties.Buffer mallocStack(int capacity)
VkExternalImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer callocStack(int capacity)
VkExternalImageFormatProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalImageFormatProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatProperties.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 VkExternalMemoryProperties nexternalMemoryProperties(long struct)
externalMemoryProperties().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.