SDL_GetTextureBlendMode

Function SDL_GetTextureBlendMode 

Source
pub unsafe extern "C" fn SDL_GetTextureBlendMode(
    texture: *mut SDL_Texture,
    blendMode: *mut SDL_BlendMode,
) -> bool
Expand description

Get the blend mode used for texture copy operations.

§Parameters

  • texture: the texture to query.
  • blendMode: a pointer filled in with the current SDL_BlendMode.

§Return value

Returns true on success or false on failure; call SDL_GetError() for more information.

§Thread safety

This function should only be called on the main thread.

§Availability

This function is available since SDL 3.2.0.

§See also