Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

ProgramParam Class Reference

#include <program.h>

Collaboration diagram for ProgramParam:

Collaboration graph
[legend]
List of all members.

Detailed Description

Pipeline program parameter definition.

Author:
Matt Holmes (kerion@houston.rr.com)

Cody Russell (cody [at] jhu.edu)

Mattias Jansson (mattias@realityrift.com)


Public Types

enum  PROGRAMPARAMTYPE
 Type definitions for program parameters.

enum  PROGRAMSYSTEMPARAM {
  SYSTEMMATRIXPARAM = 0x00010000, PSP_MODEL_MATRIX = 0x00010001, PSP_VIEW_MATRIX = 0x00010002, PSP_PROJECTION_MATRIX = 0x00010003,
  PSP_MODELVIEW_MATRIX = 0x00010004, PSP_MODELVIEWPROJ_MATRIX = 0x00010005, PSP_INV_MODEL_MATRIX = 0000010006, LIGHTPARAM = 0x00020000,
  PSP_LIGHT_POSITION = 0x00020001, PSP_LIGHT_DIFFUSE_COLOR = 0x00020002, PSP_LIGHT_AMBIENT_COLOR = 0x00020003, PSP_TOTAL_LIGHT_AMBIENT_COLOR = 0x00040001
}
 List of available system parameters for pipeline programs. More...


Public Attributes

unsigned int m_uiIndex
PROGRAMPARAMTYPE m_eType
NeoEngine::ProgramParam::ProgramParamValue m_Value
unsigned int m_uiLight


Member Enumeration Documentation

enum PROGRAMSYSTEMPARAM
 

List of available system parameters for pipeline programs.

Enumeration values:
SYSTEMMATRIXPARAM  Bit set for all system matrix parameters
PSP_MODEL_MATRIX  Current model matrix
PSP_VIEW_MATRIX  Current view matrix
PSP_PROJECTION_MATRIX  Current projection matrix
PSP_MODELVIEW_MATRIX  Current concatenated model and view matrix
PSP_MODELVIEWPROJ_MATRIX  Current concatenated model, view and projection matrix
PSP_INV_MODEL_MATRIX  Inverted current model matrix
LIGHTPARAM  Bit set for all light parameters
PSP_LIGHT_POSITION  Current light world position
PSP_LIGHT_DIFFUSE_COLOR  Current light diffuse color
PSP_LIGHT_AMBIENT_COLOR  Current light ambient color
PSP_TOTAL_LIGHT_AMBIENT_COLOR  Total ambient light color contributed by all lights


Member Data Documentation

unsigned int m_uiIndex
 

Parameter index

PROGRAMPARAMTYPE m_eType
 

Parameter type

union NeoEngine::ProgramParam::ProgramParamValue m_Value
 

Value (depending on type)

unsigned int m_uiLight
 

Light index


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:13 2004 for NeoEngine by doxygen 1.3.5