Trait wgpu_hal::Api

source ·
pub trait Api: Clone + Sized {
Show 21 associated items type Instance: Instance<Self>; type Surface: Surface<Self>; type Adapter: Adapter<Self>; type Device: Device<Self>; type Queue: Queue<Self>; type CommandEncoder: CommandEncoder<Self>; type CommandBuffer: WasmNotSend + WasmNotSync + Debug; type Buffer: Debug + WasmNotSend + WasmNotSync + 'static; type Texture: Debug + WasmNotSend + WasmNotSync + 'static; type SurfaceTexture: Debug + WasmNotSend + WasmNotSync + Borrow<Self::Texture>; type TextureView: Debug + WasmNotSend + WasmNotSync; type Sampler: Debug + WasmNotSend + WasmNotSync; type QuerySet: Debug + WasmNotSend + WasmNotSync; type Fence: Debug + WasmNotSend + WasmNotSync; type BindGroupLayout: WasmNotSend + WasmNotSync; type BindGroup: Debug + WasmNotSend + WasmNotSync; type PipelineLayout: WasmNotSend + WasmNotSync; type ShaderModule: Debug + WasmNotSend + WasmNotSync; type RenderPipeline: WasmNotSend + WasmNotSync; type ComputePipeline: WasmNotSend + WasmNotSync; type TextureFormat;
}

Required Associated Types§

source

type Instance: Instance<Self>

source

type Surface: Surface<Self>

source

type Adapter: Adapter<Self>

source

type Device: Device<Self>

source

type Queue: Queue<Self>

source

type CommandEncoder: CommandEncoder<Self>

source

type CommandBuffer: WasmNotSend + WasmNotSync + Debug

source

type Buffer: Debug + WasmNotSend + WasmNotSync + 'static

source

type Texture: Debug + WasmNotSend + WasmNotSync + 'static

source

type SurfaceTexture: Debug + WasmNotSend + WasmNotSync + Borrow<Self::Texture>

source

type TextureView: Debug + WasmNotSend + WasmNotSync

source

type Sampler: Debug + WasmNotSend + WasmNotSync

source

type QuerySet: Debug + WasmNotSend + WasmNotSync

source

type Fence: Debug + WasmNotSend + WasmNotSync

source

type BindGroupLayout: WasmNotSend + WasmNotSync

source

type BindGroup: Debug + WasmNotSend + WasmNotSync

source

type PipelineLayout: WasmNotSend + WasmNotSync

source

type ShaderModule: Debug + WasmNotSend + WasmNotSync

source

type RenderPipeline: WasmNotSend + WasmNotSync

source

type ComputePipeline: WasmNotSend + WasmNotSync

source

type TextureFormat

Implementors§

source§

impl Api for wgpu_hal::empty::Api

source§

impl Api for wgpu_hal::gles::Api

Available on crate feature gles only.
source§

impl Api for wgpu_hal::vulkan::Api

Available on crate feature vulkan and non-WebAssembly only.