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

Greyscale pixel without transparency. More...

#include <graphics/primitives.h>

Public Member Functions

 SpritePixel (unsigned luminance)
 
 SpritePixel ()
 

Public Attributes

SpritePixelComponent< BITS > luminance
 

Detailed Description

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

Greyscale pixel without transparency.

Template Parameters
BITSSize of mask

Constructor & Destructor Documentation

◆ SpritePixel() [1/2]

template<unsigned BITS>
SpritePixel< GREYSCALE, false, BITS >::SpritePixel ( unsigned  luminance)
inlineexplicit

◆ SpritePixel() [2/2]

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

Member Data Documentation

◆ luminance

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

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