Structures
VkNativeBufferPropertiesOHOS
Properties of external memory Open Harmony OS native buffer
The VkNativeBufferPropertiesOHOS structure is defined as:
typedef struct VkNativeBufferPropertiesOHOS {
VkStructureType sType;
void* pNext;
VkDeviceSize allocationSize;
uint32_t memoryTypeBits;
} VkNativeBufferPropertiesOHOS;
pub struct NativeBufferPropertiesOHOS {
s_type: vk::StructureType,
p_next: *mut c_void,
allocation_size: vk::DeviceSize,
memory_type_bits: u32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.allocationSizeis the size of the external memory.memoryTypeBitsis a bitmask containing one bit set for every memory type which the specified Open Harmony OS native buffer can be imported as.
Valid Usage (Implicit)
VUID-VkNativeBufferPropertiesOHOS-sType-sType
sType must be VK_STRUCTURE_TYPE_NATIVE_BUFFER_PROPERTIES_OHOS
VUID-VkNativeBufferPropertiesOHOS-pNext-pNext
pNext must be NULL or a pointer to a valid instance of VkNativeBufferFormatPropertiesOHOS
VUID-VkNativeBufferPropertiesOHOS-sType-unique
The sType value of each structure in the pNext chain must be unique