Class VkPhysicalDeviceExternalBufferInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer
    Direct Known Subclasses:
    VkPhysicalDeviceExternalBufferInfoKHR

    public class VkPhysicalDeviceExternalBufferInfo
    extends Struct
    implements NativeResource
    Structure specifying buffer creation parameters.
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO
    • pNext must be NULL
    • flags must be a valid combination of VkBufferCreateFlagBits values
    • usage must be a valid combination of VkBufferUsageFlagBits values
    • usage must not be 0
    • handleType must be a valid VkExternalMemoryHandleTypeFlagBits value
    See Also

    GetPhysicalDeviceExternalBufferProperties, GetPhysicalDeviceExternalBufferPropertiesKHR

    Member documentation

    • sType – the type of this structure
    • pNext – NULL or a pointer to an extension-specific structure.
    • flags – a bitmask of VkBufferCreateFlagBits describing additional parameters of the buffer, corresponding to VkBufferCreateInfo::flags.
    • usage – a bitmask of VkBufferUsageFlagBits describing the intended usage of the buffer, corresponding to VkBufferCreateInfo::usage.
    • handleType – a VkExternalMemoryHandleTypeFlagBits value specifying the memory handle type that will be used with the memory associated with the buffer.

    Layout

    
     struct VkPhysicalDeviceExternalBufferInfo {
         VkStructureType sType;
         void const * pNext;
         VkBufferCreateFlags flags;
         VkBufferUsageFlags usage;
         VkExternalMemoryHandleTypeFlagBits handleType;
     }