Package org.lwjgl.vulkan
Class VkExternalMemoryPropertiesKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkExternalMemoryProperties>
org.lwjgl.vulkan.VkExternalMemoryProperties
org.lwjgl.vulkan.VkExternalMemoryPropertiesKHR
- All Implemented Interfaces:
Pointer
struct VkExternalMemoryPropertiesKHR {
VkExternalMemoryFeatureFlags externalMemoryFeatures;
VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
ALIGNOF, COMPATIBLEHANDLETYPES, EXPORTFROMIMPORTEDHANDLETYPES, EXTERNALMEMORYFEATURES, SIZEOF
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkExternalMemoryPropertiesKHR
(ByteBuffer container) Creates aVkExternalMemoryPropertiesKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(long address) Returns a newVkExternalMemoryPropertiesKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkExternalMemoryPropertiesKHR.Buffer
instance at the specified memory.static @Nullable VkExternalMemoryPropertiesKHR
createSafe
(long address) static @Nullable VkExternalMemoryPropertiesKHR.Buffer
createSafe
(long address, int capacity) Methods inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
compatibleHandleTypes, exportFromImportedHandleTypes, externalMemoryFeatures, ncompatibleHandleTypes, nexportFromImportedHandleTypes, nexternalMemoryFeatures, sizeof
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Constructor Details
-
VkExternalMemoryPropertiesKHR
Creates aVkExternalMemoryPropertiesKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Details
-
create
Returns a newVkExternalMemoryPropertiesKHR
instance for the specified memory address. -
createSafe
-
create
Create aVkExternalMemoryPropertiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-