Main Page   Compound List   File List   Compound Members   File Members  

cgbindingtype.h File Reference

Go to the source code of this file.

Enumerations

enum  VertexBindingFormat { VBF_FORMAT0, VBF_FORMAT1, VBF_LAST }
 A single enumeration to specify all vertex formats your application creates shaders for. More...

enum  VertexBindingType {
  VBT_UNDEFINED, VBT_WORLD, VBT_WORLDIT, VBT_WORLDVIEW,
  VBT_WORLDVIEWIT, VBT_WORLDVIEWPROJ, VBT_PROJECTION_MATRIX, VBT_EYEPOSITION,
  VBT_AMBIENTCOLOR, VBT_LIGHTCOLOR, VBT_LIGHTPOSITION, VBT_LIGHTVECTOR,
  VBT_LIGHTTYPE, VBT_WAVESH, VBT_WAVESX, VBT_WAVESY,
  VBT_TIME, VBT_IN, VBT_KD, VBT_BONES,
  VBT_BUMPSCALE, VBT_C_FOGPARAMS, VBT_C_HEIGHT_FOG_PARAMS, VBT_C_LIGHT_CONST,
  VBT_C_LIGHT_POS_OSPACE, VBT_C_ZEROONE, VBT_CLAMPZ, VBT_CONSTANTS,
  VBT_CONSTS_0512, VBT_DISPLACEMENT, VBT_ETA, VBT_FACTORS,
  VBT_FATNESS, VBT_FREQ_AMP, VBT_FRESNEL, VBT_FRESNELCONSTANTS,
  VBT_FURHEIGHTSCALE, VBT_NOISEMATRIX, VBT_OBJTOCUBESPACE, VBT_PG,
  VBT_PIS, VBT_SCALESTART, VBT_SHADOWEXTRUDEDIST, VBT_TERRAIN_PARAM,
  VBT_TEX_OFFSET, VBT_TEX_SCALE, VBT_TEXTRANSFORM, VBT_TEXTUREMATRIX,
  VBT_VA, VBT_VCOS, VBT_VD, VBT_VECCOS,
  VBT_VECSIN, VBT_VSIN, VBT_WAVE1, VBT_WAVE1ORIGIN,
  VBT_WAVE2, VBT_WAVE2ORIGIN, VBT_WVP_0, VBT_WVP_1,
  VBT_WVP_2, VBT_WVP_3, VBT_LAST
}
 A single enumeration for translating all ascii keywords in a vertexshader into logical operations. More...

enum  PixelBindingType {
  PBT_UNDEFINED, PBT_IN, PBT_TEX0, PBT_TEX1,
  PBT_TEX2, PBT_TEX3, PBT_TEX4, PBT_TEX5,
  PBT_TEX6, PBT_TEX7, PBT_HEIGHT, PBT_BASE_COLOR0,
  PBT_BASE_COLOR1, PBT_LAST
}
 A single enumeration for translating all ascii keywords in a PixelShader into logical operations. More...


Enumeration Type Documentation

enum PixelBindingType
 

A single enumeration for translating all ascii keywords in a PixelShader into logical operations.

This Enumeration lists all of the logical key bindings in a large collection of .Cg scripts. If you need a new key binding for your Cg program you would add it here. If your script aliases one of these existing keyword bindings then you would simply add it to the 'AsciiToVertexBindingType' method.

Note:
PBT_TEX0 through PBT_TEX7 are reserved bindings to indicate texture binds, not data fielsd.
Author:
John W. Ratcliff
Date:
July 18, 2002
Enumeration values:
PBT_UNDEFINED 
PBT_IN 
PBT_TEX0 
PBT_TEX1 
PBT_TEX2 
PBT_TEX3 
PBT_TEX4 
PBT_TEX5 
PBT_TEX6 
PBT_TEX7 
PBT_HEIGHT 
PBT_BASE_COLOR0 
PBT_BASE_COLOR1 
PBT_LAST 

enum VertexBindingFormat
 

A single enumeration to specify all vertex formats your application creates shaders for.

This enumeration exists simply so we can create a single logical binding point for the huge permutation of vertex format specifcations possible. Currently under DirectX 8.1 you must have a different vertex shader for every vertex format. Fortuantely, this limitiation is going to be fixed under DirectX 9.0.

Author:
John W. Ratcliff
Date:
July 18, 2002
Enumeration values:
VBF_FORMAT0 
VBF_FORMAT1 
VBF_LAST 

enum VertexBindingType
 

A single enumeration for translating all ascii keywords in a vertexshader into logical operations.

This Enumeration lists all of the logical key bindings in a large collection of .Cg scripts. If you need a new key binding for your Cg program you would add it here. If your script aliases one of these existing keyword bindings then you would simply add it to the 'AsciiToVertexBindingType' method.

Author:
John W. Ratcliff
Date:
July 18, 2002
Enumeration values:
VBT_UNDEFINED 
VBT_WORLD 
VBT_WORLDIT 
VBT_WORLDVIEW 
VBT_WORLDVIEWIT 
VBT_WORLDVIEWPROJ 
VBT_PROJECTION_MATRIX 
VBT_EYEPOSITION 
VBT_AMBIENTCOLOR 
VBT_LIGHTCOLOR 
VBT_LIGHTPOSITION 
VBT_LIGHTVECTOR 
VBT_LIGHTTYPE 
VBT_WAVESH 
VBT_WAVESX 
VBT_WAVESY 
VBT_TIME 
VBT_IN 
VBT_KD 
VBT_BONES 
VBT_BUMPSCALE 
VBT_C_FOGPARAMS 
VBT_C_HEIGHT_FOG_PARAMS 
VBT_C_LIGHT_CONST 
VBT_C_LIGHT_POS_OSPACE 
VBT_C_ZEROONE 
VBT_CLAMPZ 
VBT_CONSTANTS 
VBT_CONSTS_0512 
VBT_DISPLACEMENT 
VBT_ETA 
VBT_FACTORS 
VBT_FATNESS 
VBT_FREQ_AMP 
VBT_FRESNEL 
VBT_FRESNELCONSTANTS 
VBT_FURHEIGHTSCALE 
VBT_NOISEMATRIX 
VBT_OBJTOCUBESPACE 
VBT_PG 
VBT_PIS 
VBT_SCALESTART 
VBT_SHADOWEXTRUDEDIST 
VBT_TERRAIN_PARAM 
VBT_TEX_OFFSET 
VBT_TEX_SCALE 
VBT_TEXTRANSFORM 
VBT_TEXTUREMATRIX 
VBT_VA 
VBT_VCOS 
VBT_VD 
VBT_VECCOS 
VBT_VECSIN 
VBT_VSIN 
VBT_WAVE1 
VBT_WAVE1ORIGIN 
VBT_WAVE2 
VBT_WAVE2ORIGIN 
VBT_WVP_0 
VBT_WVP_1 
VBT_WVP_2 
VBT_WVP_3 
VBT_LAST 


Generated on Sun Jul 21 13:35:16 2002 for CgBinding by doxygen1.2.17