DeviceExtensions

Trait DeviceExtensions 

Source
pub trait DeviceExtensions {
    // Required methods
    fn simple_encoder(&self, label: &str) -> CommandEncoder;
    fn simple_bind_group(
        &self,
        label: Option<&str>,
        texture: &Texture,
        layout: &BindGroupLayout,
    ) -> BindGroup;
}

Required Methods§

Source

fn simple_encoder(&self, label: &str) -> CommandEncoder

Source

fn simple_bind_group( &self, label: Option<&str>, texture: &Texture, layout: &BindGroupLayout, ) -> BindGroup

Implementations on Foreign Types§

Source§

impl DeviceExtensions for Device

Source§

fn simple_encoder(&self, label: &str) -> CommandEncoder

Source§

fn simple_bind_group( &self, label: Option<&str>, texture: &Texture, layout: &BindGroupLayout, ) -> BindGroup

Implementors§