Trait wgpu::hal::Api

source ·
pub trait Api: Clone + Debug + Sized {
Show 21 associated items type Instance: Instance<A = Self>; type Surface: Surface<A = Self>; type Adapter: Adapter<A = Self>; type Device: Device<A = Self>; type Queue: Queue<A = Self>; type CommandEncoder: CommandEncoder<A = Self>; type CommandBuffer: WasmNotSendSync + Debug; type Buffer: Debug + WasmNotSendSync + 'static; type Texture: Debug + WasmNotSendSync + 'static; type SurfaceTexture: Debug + WasmNotSendSync + Borrow<Self::Texture>; type TextureView: Debug + WasmNotSendSync; type Sampler: Debug + WasmNotSendSync; type QuerySet: Debug + WasmNotSendSync; type Fence: Debug + WasmNotSendSync; type BindGroupLayout: Debug + WasmNotSendSync; type BindGroup: Debug + WasmNotSendSync; type PipelineLayout: Debug + WasmNotSendSync; type ShaderModule: Debug + WasmNotSendSync; type RenderPipeline: Debug + WasmNotSendSync; type ComputePipeline: Debug + WasmNotSendSync; type AccelerationStructure: Debug + WasmNotSendSync + 'static;
}
Available on wgpu_core only.

Required Associated Types§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Api for wgpu::hal::api::Empty

source§

impl Api for wgpu::hal::api::Gles

source§

impl Api for wgpu::hal::api::Vulkan