Function cgl_rs::graphics::widgets::set_texture
source · pub fn set_texture(texture: &Texture)
Expand description
Sets the texture for the current frame.
Arguments
texture
- A reference to aTexture
representing the texture to be set.