StuBS
SpritePixelComponent< BITS > Struct Template Reference

Sprite pixel component. More...

#include <graphics/primitives.h>

Public Member Functions

 SpritePixelComponent ()
 Default constructor (sets initial value to zero)
 
 SpritePixelComponent (unsigned int value)
 Constructor. More...
 

Public Attributes

unsigned int value: BITS
 Sprite pixel component value.
 

Detailed Description

template<unsigned BITS>
struct SpritePixelComponent< BITS >

Sprite pixel component.

Template Parameters
BITSmask size

Constructor & Destructor Documentation

◆ SpritePixelComponent()

template<unsigned BITS>
SpritePixelComponent< BITS >::SpritePixelComponent ( unsigned int  value)
inlineexplicit

Constructor.

Parameters
valueValue for component

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