# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

CVPOperand Struct Reference

An operand in a vertex program. More...

#include <vertex_program_parse.h>

List of all members.

Public Types

enum  EOperandType {
  Variable = 0, Constant, InputRegister, OutputRegister,
  AddressRegister, OperandTypeCount
}
enum  EInputRegister {
  IPosition = 0, IWeight, INormal, IPrimaryColor,
  ISecondaryColor, IFogCoord, IPaletteSkin, IEmpty,
  ITex0, ITex1, ITex2, ITex3,
  ITex4, ITex5, ITex6, ITex7,
  ITex8, InputRegisterCount
}
enum  EOutputRegister {
  OHPosition = 0, OPrimaryColor, OSecondaryColor, OBackFacePrimaryColor,
  OBackFaceSecondaryColor, OFogCoord, OPointSize, OTex0,
  OTex1, OTex2, OTex3, OTex4,
  OTex5, OTex6, OTex7, OutputRegisterCount
}

Public Attributes

EOperandType Type
union {
   EOutputRegister   OutputRegisterValue
   EInputRegister   InputRegisterValue
   uint   VariableValue
   uint   ConstantValue
Value
bool Indexed
uint WriteMask
bool Negate
CVPSwizzle Swizzle


Detailed Description

An operand in a vertex program.

Author:
Nicolas Vizerie , Nevrax France
Date:
2002

Definition at line 63 of file vertex_program_parse.h.


Member Enumeration Documentation

enum CVPOperand::EInputRegister
 

Enumeration values:
IPosition 
IWeight 
INormal 
IPrimaryColor 
ISecondaryColor 
IFogCoord 
IPaletteSkin 
IEmpty 
ITex0 
ITex1 
ITex2 
ITex3 
ITex4 
ITex5 
ITex6 
ITex7 
ITex8 
InputRegisterCount 

Definition at line 76 of file vertex_program_parse.h.

enum CVPOperand::EOperandType
 

Enumeration values:
Variable 
Constant 
InputRegister 
OutputRegister 
AddressRegister 
OperandTypeCount 

Definition at line 66 of file vertex_program_parse.h.

enum CVPOperand::EOutputRegister
 

Enumeration values:
OHPosition 
OPrimaryColor 
OSecondaryColor 
OBackFacePrimaryColor 
OBackFaceSecondaryColor 
OFogCoord 
OPointSize 
OTex0 
OTex1 
OTex2 
OTex3 
OTex4 
OTex5 
OTex6 
OTex7 
OutputRegisterCount 

Definition at line 98 of file vertex_program_parse.h.


Member Data Documentation

uint CVPOperand::ConstantValue
 

Definition at line 126 of file vertex_program_parse.h.

bool CVPOperand::Indexed
 

Definition at line 129 of file vertex_program_parse.h.

Referenced by dumpOperand, CVPParser::parseConstantRegister, CVPParser::parseOp3, CVPParser::parseOp4, and NL3D::CDriverGL::setupEXTVertexShader.

EInputRegister CVPOperand::InputRegisterValue
 

Definition at line 124 of file vertex_program_parse.h.

bool CVPOperand::Negate
 

Definition at line 135 of file vertex_program_parse.h.

Referenced by dumpOperand, CVPParser::parseOperand, and NL3D::CDriverGL::setupEXTVertexShader.

EOutputRegister CVPOperand::OutputRegisterValue
 

Definition at line 123 of file vertex_program_parse.h.

CVPSwizzle CVPOperand::Swizzle
 

Definition at line 136 of file vertex_program_parse.h.

Referenced by dumpOperand, CVPParser::parseInstruction, CVPParser::parseOperand, and NL3D::CDriverGL::setupEXTVertexShader.

EOperandType CVPOperand::Type
 

Definition at line 118 of file vertex_program_parse.h.

Referenced by dumpOperand, CVPParser::parseAddressRegister, CVPParser::parseConstantRegister, CVPParser::parseInputRegister, CVPParser::parseInstruction, CVPParser::parseOp2, CVPParser::parseOp3, CVPParser::parseOp4, CVPParser::parseOperand, CVPParser::parseOutputRegister, CVPParser::parseVariableRegister, and NL3D::CDriverGL::setupEXTVertexShader.

union { ... } CVPOperand::Value
 

Referenced by dumpOperand, CVPParser::parseConstantRegister, CVPParser::parseInputRegister, CVPParser::parseInstruction, CVPParser::parseOp3, CVPParser::parseOp4, CVPParser::parseOperand, CVPParser::parseOutputRegister, CVPParser::parseVariableRegister, and NL3D::CDriverGL::setupEXTVertexShader.

uint CVPOperand::VariableValue
 

Definition at line 125 of file vertex_program_parse.h.

uint CVPOperand::WriteMask
 

Definition at line 132 of file vertex_program_parse.h.

Referenced by dumpOperand, CVPParser::parseInstruction, CVPParser::parseOperand, and NL3D::CDriverGL::setupEXTVertexShader.


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