pub trait ExtPrivateDataExtension: DeviceV1_0 {
const METADATA: Extension = EXT_PRIVATE_DATA_EXTENSION;
// Provided methods
unsafe fn create_private_data_slot_ext(
&self,
create_info: &PrivateDataSlotCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<PrivateDataSlot> { ... }
unsafe fn destroy_private_data_slot_ext(
&self,
private_data_slot: PrivateDataSlot,
allocator: Option<&AllocationCallbacks>
) { ... }
unsafe fn get_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlot
) -> u64 { ... }
unsafe fn set_private_data_ext(
&self,
object_type: ObjectType,
object_handle: u64,
private_data_slot: PrivateDataSlot,
data: u64
) -> VkResult<()> { ... }
}
Expand description
The metadata for this extension.