StuBS
Loading...
Searching...
No Matches
SpritePixelComponent< BITS > Struct Template Reference

Sprite pixel component. More...

#include <primitives.h>

Public Member Functions

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

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: