Rasterfarm-SDK
|
#include <component.h>
Classes | |
class | Attribute |
Public Member Functions | |
Component (const Attribute &attribute) | |
virtual | ~Component () |
const Attribute & | getAttribute () |
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 |
Render::Component::Component | ( | const Attribute & | attribute | ) |
|
virtual |
|
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.
|
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.
|
pure virtual |
|
inline |
|
pure virtual |
|
protected |