Trait SampleCube

Source
pub trait SampleCube {
    type Sampler: IsSampler;

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

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl SampleCube for Cubemap

Source§

type Sampler = Sampler

Source§

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

Implementors§