pub trait Api: Clone + Sized {
Show 20 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: Send + Sync + Debug;
type Buffer: Debug + Send + Sync + 'static;
type Texture: Debug + Send + Sync + 'static;
type SurfaceTexture: Debug + Send + Sync + Borrow<Self::Texture>;
type TextureView: Debug + Send + Sync;
type Sampler: Debug + Send + Sync;
type QuerySet: Debug + Send + Sync;
type Fence: Debug + Send + Sync;
type BindGroupLayout: Send + Sync;
type BindGroup: Debug + Send + Sync;
type PipelineLayout: Send + Sync;
type ShaderModule: Debug + Send + Sync;
type RenderPipeline: Send + Sync;
type ComputePipeline: Send + Sync;
}
Required Associated Types§
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: Send + Sync + Debug
type Buffer: Debug + Send + Sync + 'static
type Texture: Debug + Send + Sync + 'static
type SurfaceTexture: Debug + Send + Sync + Borrow<Self::Texture>
type TextureView: Debug + Send + Sync
type Sampler: Debug + Send + Sync
type QuerySet: Debug + Send + Sync
type Fence: Debug + Send + Sync
type BindGroupLayout: Send + Sync
type BindGroup: Debug + Send + Sync
type PipelineLayout: Send + Sync
type ShaderModule: Debug + Send + Sync
type RenderPipeline: Send + Sync
type ComputePipeline: Send + Sync
Implementors§
source§impl Api for wgpu_hal::empty::Api
impl Api for wgpu_hal::empty::Api
type Instance = Context
type Surface = Context
type Adapter = Context
type Device = Context
type Queue = Context
type CommandEncoder = Encoder
type CommandBuffer = Resource
type Buffer = Resource
type Texture = Resource
type SurfaceTexture = Resource
type TextureView = Resource
type Sampler = Resource
type QuerySet = Resource
type Fence = Resource
type BindGroupLayout = Resource
type BindGroup = Resource
type PipelineLayout = Resource
type ShaderModule = Resource
type RenderPipeline = Resource
type ComputePipeline = Resource
source§impl Api for wgpu_hal::gles::Api
Available on crate feature gles
only.
impl Api for wgpu_hal::gles::Api
Available on crate feature
gles
only.