[−][src]Trait tray_rust::texture::Texture
scalars or Colors can be computed on some image texture or procedural generator
Required methods
fn sample_f32(&self, u: f32, v: f32, time: f32) -> f32
Sample the textured value at texture coordinates u,v at some time. u and v should be in [0, 1]