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 class
VkExternalMemoryPropertiesKHR.Buffer
An array ofVkExternalMemoryPropertiesKHR
structs.
-
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 aVkExternalMemoryPropertiesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VkExternalMemoryPropertiesKHR
create(long address)
Returns a newVkExternalMemoryPropertiesKHR
instance for the specified memory address.static VkExternalMemoryPropertiesKHR.Buffer
create(long address, int capacity)
Create aVkExternalMemoryPropertiesKHR.Buffer
instance at the specified memory.static VkExternalMemoryPropertiesKHR
createSafe(long address)
static VkExternalMemoryPropertiesKHR.Buffer
createSafe(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 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 Detail
-
create
public static VkExternalMemoryPropertiesKHR create(long address)
Returns a newVkExternalMemoryPropertiesKHR
instance 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.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkExternalMemoryPropertiesKHR.Buffer createSafe(long address, int capacity)
-
-