Wiki Page Content

Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2009-12-05 04:28:51
Size: 761
Editor: SheenaSmith
Comment: create page, add content
Revision 7 as of 2011-02-16 22:59:44
Size: 853
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to get information about the current rendering context. Use this function to get information about a rendering context.
Line 11: Line 11:
int SDL_GetRendererInfo(SDL_RendererInfo* info) int SDL_GetRendererInfo(SDL_Renderer* renderer
                        SDL_Renderer
Info* info)
Line 15: Line 16:

||'''info'''||a pointer to an [[SDL_RendererInfo]] structure filled with current renderer info||
||'''renderer'''||the rendering context||
||'''info'''||an [[SDL_RendererInfo]] structure filled with information about the current renderer||
Line 27: Line 28:
You can add useful comments here ''You can add useful comments here''
Line 33: Line 34:
[[CategoryAPI]], [[CategoryVideo]] [[CategoryAPI]], [[CategoryRender]]

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

None: SDL_GetRendererInfo (last edited 2013-08-11 12:21:55 by PhilippWiesemann)

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