SDL_GetRenderDrawBlendMode

Get the blend mode used for drawing operations.

extern (C) nothrow @nogc extern
bool
SDL_GetRenderDrawBlendMode

Parameters

renderer SDL_Renderer*

The rendering context.

blendMode SDL_BlendMode*

A pointer filled in with the current SDL_BlendMode.

Return Value

Type: bool

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

Threadsafety: This function should only be called on the main thread.

See Also

Meta