CrystalSpace

Public API Reference

Public Member Functions
csShaderExpressionAccessor Class Reference

Shader variable accessor that evaluates a shader expression when the SV value is queried. More...

#include <csgfx/shaderexpaccessor.h>

Inheritance diagram for csShaderExpressionAccessor:
scfImplementationExt2< csShaderExpressionAccessor, csObject, iShaderVariableAccessor, iSelfDestruct > csObject iShaderVariableAccessor iSelfDestruct scfImplementation1< csObject, iObject > CS::Utility::InternalRefCount iBase iBase scfImplementation< csObject > iObject iBase scfImplementationHelper CS::Memory::CustomAllocated iBase

List of all members.

Public Member Functions

 csShaderExpressionAccessor (iObjectRegistry *object_reg, csShaderExpression *expression)
 Construct accessor.
virtual void PreGetValue (csShaderVariable *variable)
 Called before the value of the attached SV is returned.
virtual void SelfDestruct ()
 Remove me!

Detailed Description

Shader variable accessor that evaluates a shader expression when the SV value is queried.

Definition at line 48 of file shaderexpaccessor.h.


Constructor & Destructor Documentation

Construct accessor.

Remarks:
The accessor object will take ownership of expression. You should not further use expression (especially not delete it) after using it to construct an instance of this class.
object_reg can be 0.

Member Function Documentation

virtual void csShaderExpressionAccessor::PreGetValue ( csShaderVariable variable) [virtual]

Called before the value of the attached SV is returned.

Implements iShaderVariableAccessor.

virtual void csShaderExpressionAccessor::SelfDestruct ( ) [virtual]

Remove me!

Implements iSelfDestruct.


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

Generated for Crystal Space 2.0 by doxygen 1.7.6.1