SDL_GetTextureColorModFloat

Get the additional color value multiplied into render copy operations.

extern (C) nothrow @nogc extern
bool
SDL_GetTextureColorModFloat
(,
float* r
,
float* g
,
float* b
)

Parameters

texture SDL_Texture*

The texture to query.

r float*

A pointer filled in with the current red color value.

g float*

A pointer filled in with the current green color value.

b float*

A pointer filled in with the current blue color value.

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