Function cgl_rs::graphics::widgets::set_texture_coordinate_so
source · pub fn set_texture_coordinate_so(
scale_x: f32,
scale_y: f32,
offset_x: f32,
offset_y: f32
)
Expand description
Sets the texture coordinate scale and offset for the current frame.
Arguments
scale_x
- Af32
representing the scale factor for the x-coordinate.scale_y
- Af32
representing the scale factor for the y-coordinate.offset_x
- Af32
representing the offset for the x-coordinate.offset_y
- Af32
representing the offset for the y-coordinate.