Wiki Page Content

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 2013-11-02 13:28:24 by PhilippWiesemann)

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