StuBS
SpritePixel< GREYSCALE, true, BITS > Struct Template Reference

Greyscale pixel with transparency. More...

#include <graphics/primitives.h>

Public Member Functions

 SpritePixel (unsigned luminance, unsigned alpha)
 
 SpritePixel ()
 

Public Attributes

SpritePixelComponent< BITS > luminance
 
SpritePixelComponent< BITS > alpha
 

Detailed Description

template<unsigned BITS>
struct SpritePixel< GREYSCALE, true, BITS >

Greyscale pixel with transparency.

Template Parameters
BITSSize of mask

Constructor & Destructor Documentation

◆ SpritePixel() [1/2]

template<unsigned BITS>
SpritePixel< GREYSCALE, true, BITS >::SpritePixel ( unsigned  luminance,
unsigned  alpha 
)
inline

◆ SpritePixel() [2/2]

template<unsigned BITS>
SpritePixel< GREYSCALE, true, BITS >::SpritePixel ( )
inline

Member Data Documentation

◆ luminance

template<unsigned BITS>
SpritePixelComponent<BITS> SpritePixel< GREYSCALE, true, BITS >::luminance

◆ alpha

template<unsigned BITS>
SpritePixelComponent<BITS> SpritePixel< GREYSCALE, true, BITS >::alpha

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