Main Page   Compound List   File List   Compound Members   File Members  

cgbindingtype.h

Go to the documentation of this file.
00001 #ifndef CGBINDINGTYPE_H
00002 
00003 #define CGBINDINGTYPE_H
00004 
00020 enum VertexBindingFormat
00021 {
00022   VBF_FORMAT0,            /* Used by ripple shader. */
00023   VBF_FORMAT1,            /* Most standard vertex format float3, float3, float2, position, normal, texcoord0 */
00024   VBF_LAST
00025 };
00026 
00027 
00028 
00043 enum VertexBindingType
00044 {
00045   VBT_UNDEFINED,                 /* unresolved type */
00046 
00047   VBT_WORLD,                     /* object to world matrix */
00048   VBT_WORLDIT,                   /* inverse transform of object to world */
00049   VBT_WORLDVIEW,                 /* world to view matrix */
00050   VBT_WORLDVIEWIT,               /* inverse transform of world to view */
00051   VBT_WORLDVIEWPROJ,             /* world view projection matrix */
00052   VBT_PROJECTION_MATRIX,         /* just the projection matrix */
00053 
00054   VBT_EYEPOSITION,               /* position of the eye in world space */
00055 
00056   VBT_AMBIENTCOLOR,              /* ambient color */
00057   VBT_LIGHTCOLOR,                /* color of the light */
00058   VBT_LIGHTPOSITION,             /* light position */
00059   VBT_LIGHTVECTOR,               /* world space unit vector direction of light */
00060   VBT_LIGHTTYPE,                 /* light type */
00061 
00062   VBT_WAVESH,                    /* Wave height */
00063   VBT_WAVESX,                    /* number of waves in the x direction */
00064   VBT_WAVESY,                    /* number of waves in the y direction */
00065 
00066   VBT_TIME,                      /* current time value */
00067 
00068   VBT_IN,
00069   VBT_KD,
00070 
00071 
00072   VBT_BONES,
00073   VBT_BUMPSCALE,
00074   VBT_C_FOGPARAMS,
00075   VBT_C_HEIGHT_FOG_PARAMS,
00076   VBT_C_LIGHT_CONST,
00077   VBT_C_LIGHT_POS_OSPACE,
00078   VBT_C_ZEROONE,
00079   VBT_CLAMPZ,
00080   VBT_CONSTANTS,
00081   VBT_CONSTS_0512,
00082   VBT_DISPLACEMENT,
00083   VBT_ETA,
00084   VBT_FACTORS,
00085   VBT_FATNESS,
00086   VBT_FREQ_AMP,
00087   VBT_FRESNEL,
00088   VBT_FRESNELCONSTANTS,
00089   VBT_FURHEIGHTSCALE,
00090 
00091 
00092   VBT_NOISEMATRIX,
00093 
00094   VBT_OBJTOCUBESPACE,
00095   VBT_PG,
00096   VBT_PIS,
00097   VBT_SCALESTART,
00098   VBT_SHADOWEXTRUDEDIST,
00099   VBT_TERRAIN_PARAM,
00100 
00101   VBT_TEX_OFFSET,
00102   VBT_TEX_SCALE,
00103   VBT_TEXTRANSFORM,
00104   VBT_TEXTUREMATRIX,
00105 
00106 
00107   VBT_VA,
00108   VBT_VCOS,
00109   VBT_VD,
00110   VBT_VECCOS,
00111   VBT_VECSIN,
00112   VBT_VSIN,
00113 
00114   VBT_WAVE1,
00115   VBT_WAVE1ORIGIN,
00116 
00117   VBT_WAVE2,
00118   VBT_WAVE2ORIGIN,
00119 
00120 
00121   VBT_WVP_0,
00122   VBT_WVP_1,
00123   VBT_WVP_2,
00124   VBT_WVP_3,
00125 
00126   VBT_LAST
00127 };
00128 
00145 enum PixelBindingType
00146 {
00147   PBT_UNDEFINED,                 // unresolved type
00148   PBT_IN,
00149   PBT_TEX0,
00150   PBT_TEX1,
00151   PBT_TEX2,
00152   PBT_TEX3,
00153   PBT_TEX4,
00154   PBT_TEX5,
00155   PBT_TEX6,
00156   PBT_TEX7,
00157   PBT_HEIGHT,
00158   PBT_BASE_COLOR0,
00159   PBT_BASE_COLOR1,
00160   PBT_LAST
00161 };
00162 
00163 #endif

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