Rasterfarm-SDK
Loading...
Searching...
No Matches
Render::Component Class Referenceabstract

#include <component.h>

Inheritance diagram for Render::Component:
DynamicType Render::Model::Position Render::Normal Render::Model::Projection Render::NormalMatrix Render::NormalVertex Render::Model::Skeletal

Classes

class  Attribute
 

Public Member Functions

 Component (const Attribute &attribute)
 
virtual ~Component ()
 
const AttributegetAttribute ()
 
virtual void create (Material *pMaterial)=0
 
virtual void update (Material *pMaterial)=0
 
virtual void addShaderResources (Material *pMaterial)=0
 
virtual void addShaderCode (Material *pMaterial)=0
 
- Public Member Functions inherited from DynamicType
 DynamicType ()
 
template<class C >
void addType ()
 
TypeID getDerivedTypeId () const
 
template<class C >
const bool isType () const
 
template<class C >
const C * cast () const
 
template<class C >
C * cast ()
 
template<class FROM , class TO >
TO * cast ()
 
template<class FROM , class TO >
const TO * cast () const
 

Protected Attributes

Attribute attribute
 

Constructor & Destructor Documentation

◆ Component()

Render::Component::Component ( const Attribute & attribute)

◆ ~Component()

virtual Render::Component::~Component ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Render::Component::addShaderCode ( Material * pMaterial)
pure virtual

Add shader-code for vertex, tessellation, geometry, and fragment shaders.

Implemented in Render::Model::Position, Render::Model::Projection, Render::Model::Skeletal, Render::Normal, Render::NormalMatrix, and Render::NormalVertex.

◆ addShaderResources()

virtual void Render::Component::addShaderResources ( Material * pMaterial)
pure virtual

Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.

Implemented in Render::Model::Position, Render::Model::Projection, Render::Model::Skeletal, Render::Normal, Render::NormalMatrix, and Render::NormalVertex.

◆ create()

virtual void Render::Component::create ( Material * pMaterial)
pure virtual

◆ getAttribute()

const Attribute & Render::Component::getAttribute ( )
inline

◆ update()

virtual void Render::Component::update ( Material * pMaterial)
pure virtual

Member Data Documentation

◆ attribute

Attribute Render::Component::attribute
protected

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