Rasterfarm-SDK
Loading...
Searching...
No Matches
Render::Normal Class Referenceabstract

#include <normal.h>

Inheritance diagram for Render::Normal:
Render::Component DynamicType Render::NormalMatrix Render::NormalVertex

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 AttributegetAttribute ()
 
- 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
 

Detailed Description

Describes how normal-data is transmitted to the fragment shader.

Constructor & Destructor Documentation

◆ Normal()

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.

◆ ~Normal()

virtual Render::Normal::~Normal ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Render::Normal::addShaderCode ( Material * pMaterial)
pure virtual

Add shader-code for vertex, tessellation, geometry, and fragment shaders.

Implements Render::Component.

Implemented in Render::NormalMatrix, and Render::NormalVertex.

◆ addShaderResources()

virtual void Render::Normal::addShaderResources ( Material * pMaterial)
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.

◆ create()

virtual void Render::Normal::create ( Material * pMaterial)
pure virtual

◆ update()

virtual void Render::Normal::update ( Material * pMaterial)
pure virtual

Friends And Related Symbol Documentation

◆ Surface::Material

friend class Surface::Material
friend

Member Data Documentation

◆ varyingString

const String Render::Normal::varyingString
static

The documentation for this class was generated from the following file: