Rose
|
An encapsulation of an SDL_PixelFormat. More...
#include <Texture.h>
Public Member Functions | |
PixelFormat (SDL_PixelFormat *sdlPixelFormat) | |
Constructor. More... | |
PixelFormat (SDL_PixelFormatEnum format) | |
Constructor. More... | |
An encapsulation of an SDL_PixelFormat.
|
inlineexplicit |
Constructor.
sdlPixelFormat | An existing SDL_PixelFormat structure. |
The SDL_PixelFormat structure becomes owned by the PixelFormat class and will be freed when the PixelFormat goes out of scop.
|
inlineexplicit |
Constructor.
format | The pixel format, a value from SDL_PixelFormatEnum. |