Rasterfarm-SDK
Loading...
Searching...
No Matches
Render::Model::Position Class Reference

#include <position.h>

Inheritance diagram for Render::Model::Position:
Render::Component DynamicType Render::Model::Projection Render::Model::Skeletal

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 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 uniformViewPositionString
 
static const String attributeString
 

Friends

class Surface::Material
 

Additional Inherited Members

- Protected Attributes inherited from Render::Component
Attribute attribute
 

Detailed Description

Holds the position-attribute array with respect to the vertex shader.

Constructor & Destructor Documentation

◆ Position()

Render::Model::Position::Position ( const Attribute & attribute)

◆ ~Position()

virtual Render::Model::Position::~Position ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Render::Model::Position::addShaderCode ( Material * pMaterial)
virtual

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

Implements Render::Component.

Reimplemented in Render::Model::Projection, and Render::Model::Skeletal.

◆ addShaderResources()

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

◆ create()

virtual void Render::Model::Position::create ( Material * pMaterial)
virtual

◆ update()

virtual void Render::Model::Position::update ( Material * pMaterial)
virtual

Friends And Related Symbol Documentation

◆ Surface::Material

friend class Surface::Material
friend

Member Data Documentation

◆ attributeString

const String Render::Model::Position::attributeString
static

◆ uniformViewPositionString

const String Render::Model::Position::uniformViewPositionString
static

The position of the camera-view.


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