pub trait Backend: 'static + Sized + Eq + Clone + Hash + Debug + Any + Send + Sync {
Show 30 associated items type Instance: Instance<Self>; type PhysicalDevice: PhysicalDevice<Self>; type Device: Device<Self>; type Surface: PresentationSurface<Self>; type QueueFamily: QueueFamily; type Queue: Queue<Self>; type CommandBuffer: CommandBuffer<Self>; type ShaderModule: Debug + Any + Send + Sync; type RenderPass: Debug + Any + Send + Sync; type Framebuffer: Debug + Any + Send + Sync; type Memory: Debug + Any + Send + Sync; type CommandPool: CommandPool<Self>; type Buffer: Debug + Any + Send + Sync; type BufferView: Debug + Any + Send + Sync; type Image: Debug + Any + Send + Sync; type ImageView: Debug + Any + Send + Sync; type Sampler: Debug + Any + Send + Sync; type ComputePipeline: Debug + Any + Send + Sync; type GraphicsPipeline: Debug + Any + Send + Sync; type PipelineCache: Debug + Any + Send + Sync; type PipelineLayout: Debug + Any + Send + Sync; type DescriptorPool: DescriptorPool<Self>; type DescriptorSet: Debug + Any + Send + Sync; type DescriptorSetLayout: Debug + Any + Send + Sync; type Fence: Debug + Any + Send + Sync; type Semaphore: Debug + Any + Send + Sync; type Event: Debug + Any + Send + Sync; type QueryPool: Debug + Any + Send + Sync; type Display: Debug + Any + Send + Sync; type DisplayMode: Debug + Any + Send + Sync;
}
Expand description

Wraps together all the types needed for a graphics backend.

Each backend module, such as OpenGL or Metal, will implement this trait with its own concrete types.

Associated Types

The corresponding instance type for this backend.

The corresponding physical device type for this backend.

The corresponding logical device type for this backend.

The corresponding surface type for this backend.

The corresponding queue family type for this backend.

The corresponding command queue type for this backend.

The corresponding command buffer type for this backend.

The corresponding shader module type for this backend.

The corresponding render pass type for this backend.

The corresponding framebuffer type for this backend.

The corresponding memory type for this backend.

The corresponding command pool type for this backend.

The corresponding buffer type for this backend.

The corresponding buffer view type for this backend.

The corresponding image type for this backend.

The corresponding image view type for this backend.

The corresponding sampler type for this backend.

The corresponding compute pipeline type for this backend.

The corresponding graphics pipeline type for this backend.

The corresponding pipeline cache type for this backend.

The corresponding pipeline layout type for this backend.

The corresponding descriptor pool type for this backend.

The corresponding descriptor set type for this backend.

The corresponding descriptor set layout type for this backend.

The corresponding fence type for this backend.

The corresponding semaphore type for this backend.

The corresponding event type for this backend.

The corresponding query pool type for this backend.

The corresponding display type for this backend.

The corresponding display mode type for this backend

Implementors