struct
TextureRef
pub struct TextureRef {
pub src: String,
pub wrap: Wrap,
pub filter: Filter,
pub flip_y: bool,
}An image a material samples.
Fields
Methods
new
pub fn new(src: &str) -> TextureRefA texture loaded from src: repeating, smoothly filtered, and flipped vertically as WebGL expects.