StuBS
SpritePixel< RGB, false, BITS > Struct Template Reference

Colored pixel without transparency. More...

#include <graphics/primitives.h>

Public Member Functions

 SpritePixel (unsigned red, unsigned green, unsigned blue)
 
 SpritePixel ()
 

Public Attributes

SpritePixelComponent< BITS > red
 
SpritePixelComponent< BITS > green
 
SpritePixelComponent< BITS > blue
 

Detailed Description

template<unsigned BITS>
struct SpritePixel< RGB, false, BITS >

Colored pixel without transparency.

Template Parameters
BITSSize of mask

Constructor & Destructor Documentation

◆ SpritePixel() [1/2]

template<unsigned BITS>
SpritePixel< RGB, false, BITS >::SpritePixel ( unsigned  red,
unsigned  green,
unsigned  blue 
)
inline

◆ SpritePixel() [2/2]

template<unsigned BITS>
SpritePixel< RGB, false, BITS >::SpritePixel ( )
inline

Member Data Documentation

◆ red

template<unsigned BITS>
SpritePixelComponent<BITS> SpritePixel< RGB, false, BITS >::red

◆ green

template<unsigned BITS>
SpritePixelComponent<BITS> SpritePixel< RGB, false, BITS >::green

◆ blue

template<unsigned BITS>
SpritePixelComponent<BITS> SpritePixel< RGB, false, BITS >::blue

The documentation for this struct was generated from the following file: