Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2011-02-06 16:30:00
Size: 746
Editor: SheenaSmith
Comment: create page - 1/12 changeset 4982
Revision 2 as of 2013-08-08 20:49:43
Size: 705
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 19: Line 18:
Returns ^the human readable name of the specified pixel format.^  <<Color2(green,Is there an error value?)>> Returns the human readable name of the specified pixel format or `"SDL_PIXELFORMAT_UNKNOWN"` if the format isn't recognized.

SDL_GetPixelFormatName

Use this function to get the human readable name of a pixel format.

Syntax

const char* SDL_GetPixelFormatName(Uint32 format)

Function Parameters

format

the pixel format to query

Return Value

Returns the human readable name of the specified pixel format or "SDL_PIXELFORMAT_UNKNOWN" if the format isn't recognized.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryPixels

None: SDL_GetPixelFormatName (last edited 2016-10-20 20:48:44 by PhilippWiesemann)

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