Rasterfarm-SDK
|
#include <normal.h>
Public Member Functions | |
Normal (const Attribute &attribute) | |
virtual | ~Normal () |
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 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 | varyingString |
Friends | |
class | Surface::Material |
Additional Inherited Members | |
Protected Attributes inherited from Render::Component | |
Attribute | attribute |
Describes how normal-data is transmitted to the fragment shader.
Render::Normal::Normal | ( | const Attribute & | attribute | ) |
The resources of this class may be enabled by other components prior to call from Material to add shader resouces.
|
virtual |
|
pure virtual |
Add shader-code for vertex, tessellation, geometry, and fragment shaders.
Implements Render::Component.
Implemented in Render::NormalMatrix, and Render::NormalVertex.
|
pure virtual |
Add your uniforms, attributes, and varyings along with resources utilized by your shader-code modules.
Implements Render::Component.
Implemented in Render::NormalMatrix, and Render::NormalVertex.
|
pure virtual |
Implements Render::Component.
Implemented in Render::NormalMatrix, and Render::NormalVertex.
|
pure virtual |
Implements Render::Component.
Implemented in Render::NormalMatrix, and Render::NormalVertex.
|
friend |
|
static |