SaturnRingLibrary 0.6
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::Bitmap::BitmapInfo Struct Reference

Detailed Description

Bitmap information.

#include <srl_bitmap.hpp>

Public Member Functions

 BitmapInfo (uint16_t width, uint16_t height)
 Construct a new Bitmap info.
 
 BitmapInfo (uint16_t width, uint16_t height, Bitmap::Palette *palette)
 Construct a new Bitmap info.
 

Public Attributes

CRAM::TextureColorMode ColorMode
 Image color mode.
 
uint16_t Height
 Image height.
 
Bitmap::PalettePalette
 Used palette (not in use for RGB555 images)
 
uint16_t Width
 Image width.
 

Constructor & Destructor Documentation

◆ BitmapInfo() [1/2]

SRL::Bitmap::BitmapInfo::BitmapInfo ( uint16_t width,
uint16_t height )
inline

Construct a new Bitmap info.

Parameters
widthImage width
heightImage height

◆ BitmapInfo() [2/2]

SRL::Bitmap::BitmapInfo::BitmapInfo ( uint16_t width,
uint16_t height,
Bitmap::Palette * palette )
inline

Construct a new Bitmap info.

Parameters
widthImage width
heightImage height
paletteColor palette