SDL_GetRendererInfo

Use this function to get information about a rendering context.

Syntax

int SDL_GetRendererInfo(SDL_Renderer*     renderer
                        SDL_RendererInfo* info)

Function Parameters

renderer

the rendering context

info

an SDL_RendererInfo structure filled with information about the current renderer

Return Value

Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryRender

SDL_GetRendererInfo (last edited 2011-02-16 22:59:44 by SheenaSmith)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit