Package org.lwjgl.vulkan
Class VkExternalImageFormatPropertiesNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkExternalImageFormatPropertiesNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkExternalImageFormatPropertiesNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying external image format properties.See Also
VkImageFormatProperties,GetPhysicalDeviceExternalImageFormatPropertiesNVLayout
struct VkExternalImageFormatPropertiesNV {VkImageFormatPropertiesimageFormatProperties(); VkExternalMemoryFeatureFlagsNVexternalMemoryFeatures(); VkExternalMemoryHandleTypeFlagsNVexportFromImportedHandleTypes(); VkExternalMemoryHandleTypeFlagsNVcompatibleHandleTypes(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkExternalImageFormatPropertiesNV.BufferAn array ofVkExternalImageFormatPropertiesNVstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOMPATIBLEHANDLETYPES
EXPORTFROMIMPORTEDHANDLETYPES
EXTERNALMEMORYFEATURES
IMAGEFORMATPROPERTIESThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VkExternalImageFormatPropertiesNV(java.nio.ByteBuffer container)Creates aVkExternalImageFormatPropertiesNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkExternalImageFormatPropertiesNVcalloc()Returns a newVkExternalImageFormatPropertiesNVinstance allocated withmemCalloc.static VkExternalImageFormatPropertiesNV.Buffercalloc(int capacity)Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withmemCalloc.static VkExternalImageFormatPropertiesNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkExternalImageFormatPropertiesNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkExternalImageFormatPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkExternalImageFormatPropertiesNVcallocStack()Deprecated.static VkExternalImageFormatPropertiesNV.BuffercallocStack(int capacity)Deprecated.static VkExternalImageFormatPropertiesNV.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkExternalImageFormatPropertiesNVcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.intcompatibleHandleTypes()a bitmask ofVkExternalMemoryHandleTypeFlagBitsNVcontaining a bit set for every external handle type that may be specified simultaneously with the handle type specified byGetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleTypewhen callingAllocateMemory, or 0 if the external memory handle type is 0.static VkExternalImageFormatPropertiesNVcreate()Returns a newVkExternalImageFormatPropertiesNVinstance allocated withBufferUtils.static VkExternalImageFormatPropertiesNV.Buffercreate(int capacity)Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withBufferUtils.static VkExternalImageFormatPropertiesNVcreate(long address)Returns a newVkExternalImageFormatPropertiesNVinstance for the specified memory address.static VkExternalImageFormatPropertiesNV.Buffercreate(long address, int capacity)Create aVkExternalImageFormatPropertiesNV.Bufferinstance at the specified memory.static VkExternalImageFormatPropertiesNVcreateSafe(long address)static VkExternalImageFormatPropertiesNV.BuffercreateSafe(long address, int capacity)intexportFromImportedHandleTypes()a bitmask ofVkExternalMemoryHandleTypeFlagBitsNVcontaining a bit set for every external handle type that may be used to create memory from which the handles of the type specified inGetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleTypecan be exported, or 0 if the external memory handle type is 0.intexternalMemoryFeatures()a bitmask ofVkExternalMemoryFeatureFlagBitsNV, indicating properties of the external memory handle type (GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType) being queried, or 0 if the external memory handle type is 0.VkImageFormatPropertiesimageFormatProperties()will be filled in as when callingGetPhysicalDeviceImageFormatProperties, but the values returned may vary depending on the external handle type requested.static VkExternalImageFormatPropertiesNVmalloc()Returns a newVkExternalImageFormatPropertiesNVinstance allocated withmemAlloc.static VkExternalImageFormatPropertiesNV.Buffermalloc(int capacity)Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withmemAlloc.static VkExternalImageFormatPropertiesNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.static VkExternalImageFormatPropertiesNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkExternalImageFormatPropertiesNVinstance allocated on the specifiedMemoryStack.static VkExternalImageFormatPropertiesNVmallocStack()Deprecated.static VkExternalImageFormatPropertiesNV.BuffermallocStack(int capacity)Deprecated.static VkExternalImageFormatPropertiesNV.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkExternalImageFormatPropertiesNVmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intncompatibleHandleTypes(long struct)Unsafe version ofcompatibleHandleTypes().static intnexportFromImportedHandleTypes(long struct)Unsafe version ofexportFromImportedHandleTypes().static intnexternalMemoryFeatures(long struct)Unsafe version ofexternalMemoryFeatures().static VkImageFormatPropertiesnimageFormatProperties(long struct)Unsafe version ofimageFormatProperties().intsizeof()
-
-
-
Constructor Detail
-
VkExternalImageFormatPropertiesNV
public VkExternalImageFormatPropertiesNV(java.nio.ByteBuffer container)
Creates aVkExternalImageFormatPropertiesNVinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
imageFormatProperties
public VkImageFormatProperties imageFormatProperties()
will be filled in as when callingGetPhysicalDeviceImageFormatProperties, but the values returned may vary depending on the external handle type requested.
-
externalMemoryFeatures
public int externalMemoryFeatures()
a bitmask ofVkExternalMemoryFeatureFlagBitsNV, indicating properties of the external memory handle type (GetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType) being queried, or 0 if the external memory handle type is 0.
-
exportFromImportedHandleTypes
public int exportFromImportedHandleTypes()
a bitmask ofVkExternalMemoryHandleTypeFlagBitsNVcontaining a bit set for every external handle type that may be used to create memory from which the handles of the type specified inGetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleTypecan be exported, or 0 if the external memory handle type is 0.
-
compatibleHandleTypes
public int compatibleHandleTypes()
a bitmask ofVkExternalMemoryHandleTypeFlagBitsNVcontaining a bit set for every external handle type that may be specified simultaneously with the handle type specified byGetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleTypewhen callingAllocateMemory, or 0 if the external memory handle type is 0.compatibleHandleTypeswill always containGetPhysicalDeviceExternalImageFormatPropertiesNV::externalHandleType
-
malloc
public static VkExternalImageFormatPropertiesNV malloc()
Returns a newVkExternalImageFormatPropertiesNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkExternalImageFormatPropertiesNV calloc()
Returns a newVkExternalImageFormatPropertiesNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkExternalImageFormatPropertiesNV create()
Returns a newVkExternalImageFormatPropertiesNVinstance allocated withBufferUtils.
-
create
public static VkExternalImageFormatPropertiesNV create(long address)
Returns a newVkExternalImageFormatPropertiesNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkExternalImageFormatPropertiesNV createSafe(long address)
-
malloc
public static VkExternalImageFormatPropertiesNV.Buffer malloc(int capacity)
Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkExternalImageFormatPropertiesNV.Buffer calloc(int capacity)
Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkExternalImageFormatPropertiesNV.Buffer create(int capacity)
Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkExternalImageFormatPropertiesNV.Buffer create(long address, int capacity)
Create aVkExternalImageFormatPropertiesNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkExternalImageFormatPropertiesNV.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkExternalImageFormatPropertiesNV mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkExternalImageFormatPropertiesNV callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkExternalImageFormatPropertiesNV mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkExternalImageFormatPropertiesNV callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkExternalImageFormatPropertiesNV.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkExternalImageFormatPropertiesNV.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkExternalImageFormatPropertiesNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkExternalImageFormatPropertiesNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkExternalImageFormatPropertiesNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalImageFormatPropertiesNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkExternalImageFormatPropertiesNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalImageFormatPropertiesNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkExternalImageFormatPropertiesNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkExternalImageFormatPropertiesNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalImageFormatPropertiesNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nimageFormatProperties
public static VkImageFormatProperties nimageFormatProperties(long struct)
Unsafe version ofimageFormatProperties().
-
nexternalMemoryFeatures
public static int nexternalMemoryFeatures(long struct)
Unsafe version ofexternalMemoryFeatures().
-
nexportFromImportedHandleTypes
public static int nexportFromImportedHandleTypes(long struct)
Unsafe version ofexportFromImportedHandleTypes().
-
ncompatibleHandleTypes
public static int ncompatibleHandleTypes(long struct)
Unsafe version ofcompatibleHandleTypes().
-
-