sdlGetRenderDrawBlendMode function
Get the blend mode used for drawing operations.
\param renderer the rendering context \param blendMode a pointer filled in with the current SDL_BlendMode \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_SetRenderDrawBlendMode
extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer * renderer, SDL_BlendMode *blendMode)
Implementation
int sdlGetRenderDrawBlendMode(
Pointer<SdlRenderer> renderer, Pointer<Int32> blendMode) {
final sdlGetRenderDrawBlendModeLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlRenderer> renderer, Pointer<Int32> blendMode),
int Function(Pointer<SdlRenderer> renderer,
Pointer<Int32> blendMode)>('SDL_GetRenderDrawBlendMode');
return sdlGetRenderDrawBlendModeLookupFunction(renderer, blendMode);
}