Rasterfarm-SDK
Loading...
Searching...
No Matches
Pixel::Uniform Class Reference

#include <uniform.h>

Inheritance diagram for Pixel::Uniform:
Pixel::Factor Component

Public Member Functions

 Uniform (const Vertex4f &color, const Attribute &attribute)
 
virtual ~Uniform ()
 
Vertex4fgetColor ()
 
void setColor (const Vertex4f &color)
 
virtual void create (Material *pMaterial)
 
virtual void update (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
- Public Member Functions inherited from Pixel::Factor
 Factor (const Attribute &attribute)
 
virtual ~Factor ()
 

Constructor & Destructor Documentation

◆ Uniform()

Pixel::Uniform::Uniform ( const Vertex4f & color,
const Attribute & attribute )

◆ ~Uniform()

virtual Pixel::Uniform::~Uniform ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Pixel::Uniform::addShaderCode ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ addShaderResources()

virtual void Pixel::Uniform::addShaderResources ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ create()

virtual void Pixel::Uniform::create ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ getColor()

Vertex4f & Pixel::Uniform::getColor ( )
inline

◆ setColor()

void Pixel::Uniform::setColor ( const Vertex4f & color)

◆ update()

virtual void Pixel::Uniform::update ( Material * pMaterial)
virtual

Implements Pixel::Factor.


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