public class VkExternalImageFormatPropertiesNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
imageFormatProperties – will be filled in as when calling GetPhysicalDeviceImageFormatProperties, but the values returned may vary depending on the external handle type requested.externalMemoryFeatures – a bitmask of VkExternalMemoryFeatureFlagBitsNV, indicating properties of the external memory handle type (GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType) being queried, or 0 if the external memory handle type is 0.exportFromImportedHandleTypes – a bitmask of VkExternalMemoryHandleTypeFlagBitsNV containing a bit set for every external handle type that may be used to create memory from which the handles of the type specified in GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType can be exported, or 0 if the external memory handle type is 0.compatibleHandleTypes – a bitmask of VkExternalMemoryHandleTypeFlagBitsNV containing a bit set for every external handle type that may be specified simultaneously with the handle type specified by GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType when calling AllocateMemory, or 0 if the external memory handle type is 0. compatibleHandleTypes will always contain GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType
struct VkExternalImageFormatPropertiesNV {
VkImageFormatProperties imageFormatProperties;
VkExternalMemoryFeatureFlagsNV externalMemoryFeatures;
VkExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlagsNV compatibleHandleTypes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalImageFormatPropertiesNV.Buffer
An array of
VkExternalImageFormatPropertiesNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMPATIBLEHANDLETYPES
The struct member offsets.
|
static int |
EXPORTFROMIMPORTEDHANDLETYPES
The struct member offsets.
|
static int |
EXTERNALMEMORYFEATURES
The struct member offsets.
|
static int |
IMAGEFORMATPROPERTIES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
VkExternalImageFormatPropertiesNV(java.nio.ByteBuffer container)
Creates a
VkExternalImageFormatPropertiesNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalImageFormatPropertiesNV |
calloc()
Returns a new
VkExternalImageFormatPropertiesNV instance allocated with memCalloc. |
static VkExternalImageFormatPropertiesNV.Buffer |
calloc(int capacity)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated with memCalloc. |
static VkExternalImageFormatPropertiesNV |
callocStack()
Returns a new
VkExternalImageFormatPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatPropertiesNV.Buffer |
callocStack(int capacity)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatPropertiesNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalImageFormatPropertiesNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
compatibleHandleTypes()
Returns the value of the
compatibleHandleTypes field. |
static VkExternalImageFormatPropertiesNV |
create()
Returns a new
VkExternalImageFormatPropertiesNV instance allocated with BufferUtils. |
static VkExternalImageFormatPropertiesNV.Buffer |
create(int capacity)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated with BufferUtils. |
static VkExternalImageFormatPropertiesNV |
create(long address)
Returns a new
VkExternalImageFormatPropertiesNV instance for the specified memory address. |
static VkExternalImageFormatPropertiesNV.Buffer |
create(long address,
int capacity)
Create a
VkExternalImageFormatPropertiesNV.Buffer instance at the specified memory. |
static VkExternalImageFormatPropertiesNV |
createSafe(long address)
|
static VkExternalImageFormatPropertiesNV.Buffer |
createSafe(long address,
int capacity)
|
int |
exportFromImportedHandleTypes()
Returns the value of the
exportFromImportedHandleTypes field. |
int |
externalMemoryFeatures()
Returns the value of the
externalMemoryFeatures field. |
VkImageFormatProperties |
imageFormatProperties()
Returns a
VkImageFormatProperties view of the imageFormatProperties field. |
static VkExternalImageFormatPropertiesNV |
malloc()
Returns a new
VkExternalImageFormatPropertiesNV instance allocated with memAlloc. |
static VkExternalImageFormatPropertiesNV.Buffer |
malloc(int capacity)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated with memAlloc. |
static VkExternalImageFormatPropertiesNV |
mallocStack()
Returns a new
VkExternalImageFormatPropertiesNV instance allocated on the thread-local MemoryStack. |
static VkExternalImageFormatPropertiesNV.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalImageFormatPropertiesNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the specified MemoryStack. |
static VkExternalImageFormatPropertiesNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalImageFormatPropertiesNV instance allocated on the specified MemoryStack. |
static int |
ncompatibleHandleTypes(long struct)
Unsafe version of
compatibleHandleTypes(). |
static int |
nexportFromImportedHandleTypes(long struct)
Unsafe version of
exportFromImportedHandleTypes(). |
static int |
nexternalMemoryFeatures(long struct)
Unsafe version of
externalMemoryFeatures(). |
static VkImageFormatProperties |
nimageFormatProperties(long struct)
Unsafe version of
imageFormatProperties(). |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int IMAGEFORMATPROPERTIES
public static final int EXTERNALMEMORYFEATURES
public static final int EXPORTFROMIMPORTEDHANDLETYPES
public static final int COMPATIBLEHANDLETYPES
public VkExternalImageFormatPropertiesNV(java.nio.ByteBuffer container)
VkExternalImageFormatPropertiesNV 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 VkImageFormatProperties imageFormatProperties()
VkImageFormatProperties view of the imageFormatProperties field.public int externalMemoryFeatures()
externalMemoryFeatures field.public int exportFromImportedHandleTypes()
exportFromImportedHandleTypes field.public int compatibleHandleTypes()
compatibleHandleTypes field.public static VkExternalImageFormatPropertiesNV malloc()
VkExternalImageFormatPropertiesNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalImageFormatPropertiesNV calloc()
VkExternalImageFormatPropertiesNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalImageFormatPropertiesNV create()
VkExternalImageFormatPropertiesNV instance allocated with BufferUtils.public static VkExternalImageFormatPropertiesNV create(long address)
VkExternalImageFormatPropertiesNV instance for the specified memory address.@Nullable public static VkExternalImageFormatPropertiesNV createSafe(long address)
public static VkExternalImageFormatPropertiesNV.Buffer malloc(int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer calloc(int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer create(int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer create(long address, int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalImageFormatPropertiesNV.Buffer createSafe(long address, int capacity)
public static VkExternalImageFormatPropertiesNV mallocStack()
VkExternalImageFormatPropertiesNV instance allocated on the thread-local MemoryStack.public static VkExternalImageFormatPropertiesNV callocStack()
VkExternalImageFormatPropertiesNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalImageFormatPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatPropertiesNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalImageFormatPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatPropertiesNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalImageFormatPropertiesNV.Buffer mallocStack(int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer callocStack(int capacity)
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatPropertiesNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalImageFormatPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalImageFormatPropertiesNV.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 VkImageFormatProperties nimageFormatProperties(long struct)
imageFormatProperties().public static int nexternalMemoryFeatures(long struct)
externalMemoryFeatures().public static int nexportFromImportedHandleTypes(long struct)
exportFromImportedHandleTypes().public static int ncompatibleHandleTypes(long struct)
compatibleHandleTypes().Copyright LWJGL. All Rights Reserved. License terms.