CrystalSpace

Public API Reference

csShaderExpressionAccessor Class Reference
[Graphics]

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

#include <csgfx/shaderexpaccessor.h>

Inheritance diagram for csShaderExpressionAccessor:

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

csShaderExpressionAccessor::csShaderExpressionAccessor ( iObjectRegistry object_reg,
csShaderExpression expression 
)

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.6.1