Sample2d

Trait Sample2d 

Source
pub trait Sample2d {
    type Sampler: IsSampler;

    // Required method
    fn sample_by_lod(&self, sampler: Self::Sampler, uv: Vec2, lod: f32) -> Vec4;
}

Required Associated Types§

Required Methods§

Source

fn sample_by_lod(&self, sampler: Self::Sampler, uv: Vec2, lod: f32) -> Vec4

Implementations on Foreign Types§

Source§

impl Sample2d for Image2d

Source§

type Sampler = Sampler

Source§

fn sample_by_lod(&self, sampler: Self::Sampler, uv: Vec2, lod: f32) -> Vec4

Implementors§