Package org.lwjgl.vulkan
Class VkExternalMemoryPropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkExternalMemoryProperties
-
- org.lwjgl.vulkan.VkExternalMemoryPropertiesKHR
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VkExternalMemoryPropertiesKHR extends VkExternalMemoryProperties
SeeVkExternalMemoryProperties.Layout
struct VkExternalMemoryPropertiesKHR { VkExternalMemoryFeatureFlags externalMemoryFeatures; VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes; VkExternalMemoryHandleTypeFlags compatibleHandleTypes; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkExternalMemoryPropertiesKHR.BufferAn array ofVkExternalMemoryPropertiesKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
ALIGNOF, COMPATIBLEHANDLETYPES, EXPORTFROMIMPORTEDHANDLETYPES, EXTERNALMEMORYFEATURES, SIZEOF
-
-
Constructor Summary
Constructors Constructor Description VkExternalMemoryPropertiesKHR(java.nio.ByteBuffer container)Creates aVkExternalMemoryPropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VkExternalMemoryPropertiesKHRcreate(long address)Returns a newVkExternalMemoryPropertiesKHRinstance for the specified memory address.static VkExternalMemoryPropertiesKHR.Buffercreate(long address, int capacity)Create aVkExternalMemoryPropertiesKHR.Bufferinstance at the specified memory.static VkExternalMemoryPropertiesKHRcreateSafe(long address)static VkExternalMemoryPropertiesKHR.BuffercreateSafe(long address, int capacity)-
Methods inherited from class org.lwjgl.vulkan.VkExternalMemoryProperties
compatibleHandleTypes, exportFromImportedHandleTypes, externalMemoryFeatures, ncompatibleHandleTypes, nexportFromImportedHandleTypes, nexternalMemoryFeatures, sizeof
-
-
-
-
Constructor Detail
-
VkExternalMemoryPropertiesKHR
public VkExternalMemoryPropertiesKHR(java.nio.ByteBuffer container)
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 Detail
-
create
public static VkExternalMemoryPropertiesKHR create(long address)
Returns a newVkExternalMemoryPropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkExternalMemoryPropertiesKHR createSafe(long address)
-
create
public static VkExternalMemoryPropertiesKHR.Buffer create(long address, int capacity)
Create aVkExternalMemoryPropertiesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkExternalMemoryPropertiesKHR.Buffer createSafe(long address, int capacity)
-
-