|
Size: 1057
Comment: add categories
|
Size: 1061
Comment: format update
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 34: | Line 34: |
| You can add useful comments here | ''You can add useful comments here'' |
SDL_MasksToPixelFormatEnum
Use this function to convert a bpp value and RGBA masks to an enumerated pixel format.
Contents
Syntax
Uint32 SDL_MasksToPixelFormatEnum(int bpp,
Uint32 Rmask,
Uint32 Gmask,
Uint32 Bmask,
Uint32 Amask)
Function Parameters
bpp |
a bits per pixel value; usually 15, 16, or 32 |
Rmask |
the red mask for the pixel |
Gmask |
the green mask for the pixel |
Bmask |
the blue mask for the pixel |
Amask |
the alpha mask for the pixel |
Return Value
The pixel format enumeration.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
