Rasterfarm-SDK
|
#include <skeletal.h>
Public Member Functions | |
Skeletal (uint boneSize, uint blends, const Attribute &attribute) | |
virtual | ~Skeletal () |
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::Model::Projection | |
Projection (const Attribute &attribute) | |
virtual | ~Projection () |
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 | weightAttributeString |
static const String | indexAttributeString |
static const String | matrixString |
static const String | varyingString |
static const String | blendedMatrixString |
Static Public Attributes inherited from Render::Model::Projection | |
static const String | compositionMatrixString |
Static Public Attributes inherited from Render::Model::Position | |
static const String | uniformViewPositionString |
static const String | attributeString |
Protected Attributes | |
uint | boneSize |
uint | blends |
Protected Attributes inherited from Render::Model::Projection | |
Matrix4f | composition |
Matrix4f | projectionMatrix |
Protected Attributes inherited from Render::Component | |
Attribute | attribute |
Friends | |
class | Material |
Applies the projection and composed transforms for each 'bone' with respect to the vertex shader. The technique is known as 'skinning' where by transforms are blended with associated weights.
Render::Model::Skeletal::Skeletal | ( | uint | boneSize, |
uint | blends, | ||
const Attribute & | attribute ) |
The | number of bones/joints in this Skeleton. |
The | number of matrixes to blend. Zero indicates no-blending. |
|
virtual |
|
virtual |
Add shader-code for vertex, tessellation, geometry, and fragment shaders.
Reimplemented from Render::Model::Projection.
|
virtual |
Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.
Reimplemented from Render::Model::Projection.
|
virtual |
Reimplemented from Render::Model::Projection.
|
virtual |
Reimplemented from Render::Model::Projection.
|
friend |
|
static |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |