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

#include <vertex.h>

Inheritance diagram for Pixel::Vertex:
Pixel::Factor Component

Public Member Functions

 Vertex (const Attribute &attribute)
 
 Vertex (const Vector4fArray &color, const Attribute &attribute)
 
virtual ~Vertex ()
 
virtual void create (Material *pMaterial)
 
virtual void update (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
void setColorArray (const Vector4fArray &array)
 
void setColorArray (const Vector4fInitializer &list, uint startIndex=0)
 
Vector4fArraygetColor ()
 
void setColor (const Vector4f &color, uint index)
 
- Public Member Functions inherited from Pixel::Factor
 Factor (const Attribute &attribute)
 
virtual ~Factor ()
 

Protected Attributes

Vector4fArray color
 

Friends

class ColorTexture2DMaterial
 

Constructor & Destructor Documentation

◆ Vertex() [1/2]

Pixel::Vertex::Vertex ( const Attribute & attribute)

◆ Vertex() [2/2]

Pixel::Vertex::Vertex ( const Vector4fArray & color,
const Attribute & attribute )

◆ ~Vertex()

virtual Pixel::Vertex::~Vertex ( )
virtual

Member Function Documentation

◆ addShaderCode()

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

Implements Pixel::Factor.

◆ addShaderResources()

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

Implements Pixel::Factor.

◆ create()

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

Implements Pixel::Factor.

◆ getColor()

Vector4fArray & Pixel::Vertex::getColor ( )
inline

◆ setColor()

void Pixel::Vertex::setColor ( const Vector4f & color,
uint index )

◆ setColorArray() [1/2]

void Pixel::Vertex::setColorArray ( const Vector4fArray & array)
inline

◆ setColorArray() [2/2]

void Pixel::Vertex::setColorArray ( const Vector4fInitializer & list,
uint startIndex = 0 )

◆ update()

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

Implements Pixel::Factor.

Friends And Related Symbol Documentation

◆ ColorTexture2DMaterial

friend class ColorTexture2DMaterial
friend

Member Data Documentation

◆ color

Vector4fArray Pixel::Vertex::color
protected

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