Function obs_sys::gs_draw_sprite

source ·
pub unsafe extern "C" fn gs_draw_sprite(
    tex: *mut gs_texture_t,
    flip: u32,
    width: u32,
    height: u32
)
Expand description

Draws a 2D sprite

If width or height is 0, the width or height of the texture will be used. The flip value specifies whether the texture should be flipped on the U or V axis with GS_FLIP_U and GS_FLIP_V.