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:
org.lwjgl.system.Pointer
See
VkExternalMemoryProperties.
Layout
struct VkExternalMemoryPropertiesKHR {
VkExternalMemoryFeatureFlags externalMemoryFeatures;
VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
ALIGNOF, COMPATIBLEHANDLETYPES, EXPORTFROMIMPORTEDHANDLETYPES, EXTERNALMEMORYFEATURES, SIZEOFFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkExternalMemoryPropertiesKHR(ByteBuffer container) Creates aVkExternalMemoryPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncreate(long address) Returns a newVkExternalMemoryPropertiesKHRinstance for the specified memory address.create(long address, int capacity) Create aVkExternalMemoryPropertiesKHR.Bufferinstance at the specified memory.static @Nullable VkExternalMemoryPropertiesKHRcreateSafe(long address) static @Nullable VkExternalMemoryPropertiesKHR.BuffercreateSafe(long address, int capacity) Methods inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
compatibleHandleTypes, exportFromImportedHandleTypes, externalMemoryFeatures, ncompatibleHandleTypes, nexportFromImportedHandleTypes, nexternalMemoryFeatures, sizeofMethods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Constructor Details
-
VkExternalMemoryPropertiesKHR
Creates aVkExternalMemoryPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. 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 newVkExternalMemoryPropertiesKHRinstance for the specified memory address. -
createSafe
-
create
Create aVkExternalMemoryPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-