Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
NeoDib< T_COLOR_OBJECT > Class Template Reference

#include <NeoDib.h>

Public Member Functions

 NeoDib (uint16_t countPixels)
 
 ~NeoDib ()
 
NeoDiboperator= (const NeoDib &other)
 
T_COLOR_OBJECT * Pixels () const
 
uint16_t PixelCount () const
 
size_t PixelsSize () const
 
size_t PixelSize () const
 
void SetPixelColor (uint16_t indexPixel, T_COLOR_OBJECT color)
 
T_COLOR_OBJECT GetPixelColor (uint16_t indexPixel) const
 
void ClearTo (T_COLOR_OBJECT color)
 
template<typename T_COLOR_FEATURE , typename T_SHADER >
void Render (NeoBufferContext< T_COLOR_FEATURE > destBuffer, T_SHADER &shader, uint16_t destIndexPixel=0)
 
bool IsDirty () const
 
void Dirty ()
 
void ResetDirty ()
 

Constructor & Destructor Documentation

◆ NeoDib()

template<typename T_COLOR_OBJECT >
NeoDib< T_COLOR_OBJECT >::NeoDib ( uint16_t  countPixels)
inline

◆ ~NeoDib()

template<typename T_COLOR_OBJECT >
NeoDib< T_COLOR_OBJECT >::~NeoDib ( )
inline

Member Function Documentation

◆ ClearTo()

template<typename T_COLOR_OBJECT >
void NeoDib< T_COLOR_OBJECT >::ClearTo ( T_COLOR_OBJECT  color)
inline

◆ Dirty()

template<typename T_COLOR_OBJECT >
void NeoDib< T_COLOR_OBJECT >::Dirty ( )
inline

◆ GetPixelColor()

template<typename T_COLOR_OBJECT >
T_COLOR_OBJECT NeoDib< T_COLOR_OBJECT >::GetPixelColor ( uint16_t  indexPixel) const
inline

◆ IsDirty()

template<typename T_COLOR_OBJECT >
bool NeoDib< T_COLOR_OBJECT >::IsDirty ( ) const
inline

◆ operator=()

template<typename T_COLOR_OBJECT >
NeoDib& NeoDib< T_COLOR_OBJECT >::operator= ( const NeoDib< T_COLOR_OBJECT > &  other)
inline

◆ PixelCount()

template<typename T_COLOR_OBJECT >
uint16_t NeoDib< T_COLOR_OBJECT >::PixelCount ( ) const
inline

◆ Pixels()

template<typename T_COLOR_OBJECT >
T_COLOR_OBJECT* NeoDib< T_COLOR_OBJECT >::Pixels ( ) const
inline

◆ PixelSize()

template<typename T_COLOR_OBJECT >
size_t NeoDib< T_COLOR_OBJECT >::PixelSize ( ) const
inline

◆ PixelsSize()

template<typename T_COLOR_OBJECT >
size_t NeoDib< T_COLOR_OBJECT >::PixelsSize ( ) const
inline

◆ Render()

template<typename T_COLOR_OBJECT >
template<typename T_COLOR_FEATURE , typename T_SHADER >
void NeoDib< T_COLOR_OBJECT >::Render ( NeoBufferContext< T_COLOR_FEATURE >  destBuffer,
T_SHADER &  shader,
uint16_t  destIndexPixel = 0 
)
inline

◆ ResetDirty()

template<typename T_COLOR_OBJECT >
void NeoDib< T_COLOR_OBJECT >::ResetDirty ( )
inline

◆ SetPixelColor()

template<typename T_COLOR_OBJECT >
void NeoDib< T_COLOR_OBJECT >::SetPixelColor ( uint16_t  indexPixel,
T_COLOR_OBJECT  color 
)
inline