csShaderProgram::ProgramParam Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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 (float val)
| Set to a constant value.
void | SetValue (const csVector4 &val)
| Set to a constant value.

## Detailed Description

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

Definition at line 103 of file shaderprogram.h.

## Member Function Documentation

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

Returns whether this parameter.

Definition at line 117 of file shaderprogram.h.

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

Set to a constant value.

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

Set to a constant value.

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

- csplugincommon/shader/shaderprogram.h