Rasterfarm-SDK
|
#include <projection.h>
Public Member Functions | |
Projection (const Attribute &attribute) | |
virtual | ~Projection () |
virtual void | create (Material *pMaterial) |
virtual void | update (Material *pMaterial) |
virtual void | addShaderResources (Material *pMaterial) |
virtual void | addShaderCode (Material *pMaterial) |
virtual void | set (const Matrix4f &modelMatrix, const Matrix4f &viewMatrix) |
void | setProjectionMatrix (const Matrix4f &projectionMatrix) |
const Matrix4f & | getCompositionMatrix () |
Public Member Functions inherited from Render::Model::Position | |
Position (const Attribute &attribute) | |
virtual | ~Position () |
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 | compositionMatrixString |
Static Public Attributes inherited from Render::Model::Position | |
static const String | uniformViewPositionString |
static const String | attributeString |
Protected Attributes | |
Matrix4f | composition |
Matrix4f | projectionMatrix |
Protected Attributes inherited from Render::Component | |
Attribute | attribute |
Friends | |
class | Material |
Applies the projection and composed transforms with respect to the vertex shader.
Render::Model::Projection::Projection | ( | const Attribute & | attribute | ) |
|
virtual |
|
virtual |
Add shader-code for vertex, tessellation, geometry, and fragment shaders.
Reimplemented from Render::Model::Position.
Reimplemented in Render::Model::Skeletal.
|
virtual |
Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.
Reimplemented from Render::Model::Position.
Reimplemented in Render::Model::Skeletal.
|
virtual |
Reimplemented from Render::Model::Position.
Reimplemented in Render::Model::Skeletal.
|
inline |
|
virtual |
Implements Render::ModelViewUpdate.
void Render::Model::Projection::setProjectionMatrix | ( | const Matrix4f & | projectionMatrix | ) |
|
virtual |
Reimplemented from Render::Model::Position.
Reimplemented in Render::Model::Skeletal.
|
friend |
|
protected |
|
static |
|
protected |