compatibleHandleTypes must include at least handleType. Inclusion of a handle type in compatibleHandleTypes does not imply the values returned in VkImageFormatProperties2 will be the same when VkPhysicalDeviceExternalImageFormatInfo::handleType is set to that type. The application is responsible for querying the capabilities of all handle types intended for concurrent use in a single image and intersecting them to obtain the compatible set of capabilities.
VkExternalBufferProperties, VkExternalImageFormatProperties
struct VkExternalMemoryProperties {
VkExternalMemoryFeatureFlags externalMemoryFeatures;
VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkExternalMemoryProperties.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMPATIBLEHANDLETYPES
The struct member offsets. |
| public static final int | EXPORTFROMIMPORTEDHANDLETYPES
The struct member offsets. |
| public static final int | EXTERNALMEMORYFEATURES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkExternalMemoryProperties(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | compatibleHandleTypes()
a bitmask of |
| protected VkExternalMemoryProperties | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkExternalMemoryProperties | create(long address)
Returns a new |
| public static VkExternalMemoryProperties. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkExternalMemoryProperties | |
| public static VkExternalMemoryProperties. | |
| public int | exportFromImportedHandleTypes()
a bitmask of |
| public int | externalMemoryFeatures()
a bitmask of |
| public static int | |
| public static int | |
| public static int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COMPATIBLEHANDLETYPES | back to summary |
|---|---|
| public static final int COMPATIBLEHANDLETYPES The struct member offsets. | |
| EXPORTFROMIMPORTEDHANDLETYPES | back to summary |
|---|---|
| public static final int EXPORTFROMIMPORTEDHANDLETYPES The struct member offsets. | |
| EXTERNALMEMORYFEATURES | back to summary |
|---|---|
| public static final int EXTERNALMEMORYFEATURES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkExternalMemoryProperties | back to summary |
|---|---|
| protected VkExternalMemoryProperties(long address, ByteBuffer container) | |
| VkExternalMemoryProperties | back to summary |
|---|---|
| public VkExternalMemoryProperties(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| compatibleHandleTypes | back to summary |
|---|---|
| public int compatibleHandleTypes() a bitmask of
| |
| create | back to summary |
|---|---|
| protected VkExternalMemoryProperties create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkExternalMemoryProperties create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkExternalMemoryProperties. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkExternalMemoryProperties createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkExternalMemoryProperties. Like
| |
| exportFromImportedHandleTypes | back to summary |
|---|---|
| public int exportFromImportedHandleTypes() a bitmask of
| |
| externalMemoryFeatures | back to summary |
|---|---|
| public int externalMemoryFeatures() a bitmask of
| |
| ncompatibleHandleTypes | back to summary |
|---|---|
| public static int ncompatibleHandleTypes(long struct) Unsafe version of | |
| nexportFromImportedHandleTypes | back to summary |
|---|---|
| public static int nexportFromImportedHandleTypes(long struct) Unsafe version of | |
| nexternalMemoryFeatures | back to summary |
|---|---|
| public static int nexternalMemoryFeatures(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkExternalMemoryProperties structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkExternalMemoryProperties |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the value of theVkExternalMemoryProperties#compatibleHandleTypes field.
|
| public int | Returns: the value of theVkExternalMemoryProperties#exportFromImportedHandleTypes field.
|
| public int | Returns: the value of theVkExternalMemoryProperties#externalMemoryFeatures field.
|
| protected VkExternalMemoryProperties | |
| protected VkExternalMemoryProperties. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkExternalMemoryProperties ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| compatibleHandleTypes | back to summary |
|---|---|
public int compatibleHandleTypes()
| |
| exportFromImportedHandleTypes | back to summary |
|---|---|
public int exportFromImportedHandleTypes()
| |
| externalMemoryFeatures | back to summary |
|---|---|
public int externalMemoryFeatures()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkExternalMemoryProperties getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkExternalMemoryProperties. Implements abstract org.
| |