pub fn set_texture(texture: &Texture)
Expand description

Sets the texture for the current frame.

Arguments

  • texture - A reference to a Texture representing the texture to be set.