CrystalSpace

Public API Reference

csShaderProgram::ProgramParam Struct Reference

Program parameter, either a SV reference or a const value. More...

#include <csplugincommon/shader/shaderprogram.h>

List of all members.

Public Member Functions

bool IsConstant () const
 Returns whether this parameter.



void SetValue (const csVector4 &val)
 Set to a constant value.
void SetValue (float val)
 Set to a constant value.

Detailed Description

Program parameter, either a SV reference or a const value.

Definition at line 289 of file shaderprogram.h.


Member Function Documentation

bool csShaderProgram::ProgramParam::IsConstant (  )  const [inline]

Returns whether this parameter.

Definition at line 303 of file shaderprogram.h.

void csShaderProgram::ProgramParam::SetValue ( const csVector4 val  ) 

Set to a constant value.

void csShaderProgram::ProgramParam::SetValue ( float  val  ) 

Set to a constant value.


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

Generated for Crystal Space 2.0 by doxygen 1.6.1