pub trait FuchsiaBufferCollectionExtensionDeviceCommands: DeviceV1_0 {
// Provided methods
unsafe fn create_buffer_collection_fuchsia(
&self,
create_info: &BufferCollectionCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<BufferCollectionFUCHSIA> { ... }
unsafe fn destroy_buffer_collection_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
allocator: Option<&AllocationCallbacks>,
) { ... }
unsafe fn get_buffer_collection_properties_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
properties: &mut BufferCollectionPropertiesFUCHSIA,
) -> VkResult<()> { ... }
unsafe fn set_buffer_collection_buffer_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
buffer_constraints_info: &BufferConstraintsInfoFUCHSIA,
) -> VkResult<()> { ... }
unsafe fn set_buffer_collection_image_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
image_constraints_info: &ImageConstraintsInfoFUCHSIA,
) -> VkResult<()> { ... }
}Expand description
The device-level commands added by FUCHSIA_BUFFER_COLLECTION_EXTENSION.
Provided Methods§
Sourceunsafe fn create_buffer_collection_fuchsia(
&self,
create_info: &BufferCollectionCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<BufferCollectionFUCHSIA>
unsafe fn create_buffer_collection_fuchsia( &self, create_info: &BufferCollectionCreateInfoFUCHSIA, allocator: Option<&AllocationCallbacks>, ) -> VkResult<BufferCollectionFUCHSIA>
Sourceunsafe fn destroy_buffer_collection_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_buffer_collection_fuchsia( &self, collection: BufferCollectionFUCHSIA, allocator: Option<&AllocationCallbacks>, )
Sourceunsafe fn get_buffer_collection_properties_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
properties: &mut BufferCollectionPropertiesFUCHSIA,
) -> VkResult<()>
unsafe fn get_buffer_collection_properties_fuchsia( &self, collection: BufferCollectionFUCHSIA, properties: &mut BufferCollectionPropertiesFUCHSIA, ) -> VkResult<()>
Sourceunsafe fn set_buffer_collection_buffer_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
buffer_constraints_info: &BufferConstraintsInfoFUCHSIA,
) -> VkResult<()>
unsafe fn set_buffer_collection_buffer_constraints_fuchsia( &self, collection: BufferCollectionFUCHSIA, buffer_constraints_info: &BufferConstraintsInfoFUCHSIA, ) -> VkResult<()>
Sourceunsafe fn set_buffer_collection_image_constraints_fuchsia(
&self,
collection: BufferCollectionFUCHSIA,
image_constraints_info: &ImageConstraintsInfoFUCHSIA,
) -> VkResult<()>
unsafe fn set_buffer_collection_image_constraints_fuchsia( &self, collection: BufferCollectionFUCHSIA, image_constraints_info: &ImageConstraintsInfoFUCHSIA, ) -> VkResult<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.