Rasterfarm-SDK
|
#include <position.h>
Public Member Functions | |
Position (const Attribute &attribute) | |
virtual | ~Position () |
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 Render::Component | |
Component (const Attribute &attribute) | |
virtual | ~Component () |
const Attribute & | getAttribute () |
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 |
Static Public Attributes | |
static const String | uniformViewPositionString |
static const String | attributeString |
Friends | |
class | Surface::Material |
Additional Inherited Members | |
Protected Attributes inherited from Render::Component | |
Attribute | attribute |
Holds the position-attribute array with respect to the vertex shader.
Render::Model::Position::Position | ( | const Attribute & | attribute | ) |
|
virtual |
|
virtual |
Add shader-code for vertex, tessellation, geometry, and fragment shaders.
Implements Render::Component.
Reimplemented in Render::Model::Projection, and Render::Model::Skeletal.
|
virtual |
Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.
Implements Render::Component.
Reimplemented in Render::Model::Projection, and Render::Model::Skeletal.
|
virtual |
Implements Render::Component.
Reimplemented in Render::Model::Projection, and Render::Model::Skeletal.
|
virtual |
Implements Render::Component.
Reimplemented in Render::Model::Projection, and Render::Model::Skeletal.
|
friend |
|
static |
|
static |
The position of the camera-view.