| cg.h | | cg.h | |
| /* | | /* | |
| * | | * | |
|
| * Copyright (c) 2002-2006, NVIDIA Corporation. | | * Copyright (c) 2002-2008, NVIDIA Corporation. | |
| * | | * | |
| * | | * | |
| * | | * | |
| * NVIDIA Corporation("NVIDIA") supplies this software to you in considerat
ion | | * NVIDIA Corporation("NVIDIA") supplies this software to you in considerat
ion | |
| * of your agreement to the following terms, and your use, installation, | | * of your agreement to the following terms, and your use, installation, | |
| * modification or redistribution of this NVIDIA software constitutes | | * modification or redistribution of this NVIDIA software constitutes | |
| * acceptance of these terms. If you do not agree with these terms, please
do | | * acceptance of these terms. If you do not agree with these terms, please
do | |
| * not use, install, modify or redistribute this NVIDIA software. | | * not use, install, modify or redistribute this NVIDIA software. | |
| * | | * | |
| * | | * | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| * | | * | |
| */ | | */ | |
| | | | |
| #ifndef _cg_h | | #ifndef _cg_h | |
| #define _cg_h | | #define _cg_h | |
| | | | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| /*** CG Run-Time Library API ***/ | | /*** CG Run-Time Library API ***/ | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| | | | |
|
| #define CG_VERSION_NUM 1502 | | #define CG_VERSION_NUM 2100 | |
| | | | |
| #ifdef _WIN32 | | #ifdef _WIN32 | |
| # ifndef APIENTRY /* From Win32's <windef.h> */ | | # ifndef APIENTRY /* From Win32's <windef.h> */ | |
| # define CG_APIENTRY_DEFINED | | # define CG_APIENTRY_DEFINED | |
| # if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND
C__) || defined(__LCC__) | | # if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLAND
C__) || defined(__LCC__) | |
| # define APIENTRY __stdcall | | # define APIENTRY __stdcall | |
| # else | | # else | |
| # define APIENTRY | | # define APIENTRY | |
| # endif | | # endif | |
| # endif | | # endif | |
| # ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */ | | # ifndef WINGDIAPI /* From Win32's <wingdi.h> and <winnt.h> */ | |
| # define CG_WINGDIAPI_DEFINED | | # define CG_WINGDIAPI_DEFINED | |
| # define WINGDIAPI __declspec(dllimport) | | # define WINGDIAPI __declspec(dllimport) | |
| # endif | | # endif | |
| #endif /* _WIN32 */ | | #endif /* _WIN32 */ | |
| | | | |
|
| /* Set up for either Win32 import/export/lib. */ | | /* Set up CG_API for Win32 dllexport or gcc visibility */ | |
| | | | |
| #ifndef CG_API | | #ifndef CG_API | |
|
| # ifdef _WIN32 | | # ifdef CG_EXPORTS | |
| # ifdef CG_EXPORTS | | # ifdef _WIN32 | |
| # define CG_API __declspec(dllexport) | | # define CG_API __declspec(dllexport) | |
|
| # elif defined (CG_LIB) | | # elif defined(__GNUC__) && __GNUC__>=4 | |
| # define CG_API | | # define CG_API __attribute__ ((visibility("default"))) | |
| | | # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) | |
| | | # define CG_API __global | |
| # else | | # else | |
|
| # define CG_API __declspec(dllimport) | | # define CG_API | |
| # endif | | # endif | |
| # else | | # else | |
| # define CG_API | | # define CG_API | |
| # endif | | # endif | |
| #endif | | #endif | |
| | | | |
|
| #ifndef CGFX_API | | | |
| # define CGFX_API CG_API | | | |
| #endif | | | |
| | | | |
| #ifndef CGENTRY | | #ifndef CGENTRY | |
| # ifdef _WIN32 | | # ifdef _WIN32 | |
| # define CGENTRY __cdecl | | # define CGENTRY __cdecl | |
| # else | | # else | |
| # define CGENTRY | | # define CGENTRY | |
| # endif | | # endif | |
| #endif | | #endif | |
| | | | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| /*** Data types and enumerants ***/ | | /*** Data types and enumerants ***/ | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| | | | |
| typedef int CGbool; | | typedef int CGbool; | |
| | | | |
| #define CG_FALSE ((CGbool)0) | | #define CG_FALSE ((CGbool)0) | |
| #define CG_TRUE ((CGbool)1) | | #define CG_TRUE ((CGbool)1) | |
| | | | |
| typedef struct _CGcontext *CGcontext; | | typedef struct _CGcontext *CGcontext; | |
| typedef struct _CGprogram *CGprogram; | | typedef struct _CGprogram *CGprogram; | |
| typedef struct _CGparameter *CGparameter; | | typedef struct _CGparameter *CGparameter; | |
|
| #ifndef CG_NO_CGFX_API | | typedef struct _CGobj *CGobj; | |
| | | typedef struct _CGbuffer *CGbuffer; | |
| typedef struct _CGeffect *CGeffect; | | typedef struct _CGeffect *CGeffect; | |
| typedef struct _CGtechnique *CGtechnique; | | typedef struct _CGtechnique *CGtechnique; | |
| typedef struct _CGpass *CGpass; | | typedef struct _CGpass *CGpass; | |
| typedef struct _CGstate *CGstate; | | typedef struct _CGstate *CGstate; | |
| typedef struct _CGstateassignment *CGstateassignment; | | typedef struct _CGstateassignment *CGstateassignment; | |
| typedef struct _CGannotation *CGannotation; | | typedef struct _CGannotation *CGannotation; | |
|
| #endif /* CG_NO_CGFX_API */ | | | |
| typedef void *CGhandle; | | typedef void *CGhandle; | |
| | | | |
| //!!! PREPROCESS BEGIN | | //!!! PREPROCESS BEGIN | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
| CG_UNKNOWN_TYPE, | | CG_UNKNOWN_TYPE, | |
| CG_STRUCT, | | CG_STRUCT, | |
| CG_ARRAY, | | CG_ARRAY, | |
|
| | | CG_TYPELESS_STRUCT, | |
| | | | |
| CG_TYPE_START_ENUM = 1024, | | CG_TYPE_START_ENUM = 1024, | |
| # define CG_DATATYPE_MACRO(name, compiler_name, enum_name, base_name, ncols
, nrows, pc) \ | | # define CG_DATATYPE_MACRO(name, compiler_name, enum_name, base_name, ncols
, nrows, pc) \ | |
| enum_name , | | enum_name , | |
| | | | |
| #include <Cg/cg_datatypes.h> | | #include <Cg/cg_datatypes.h> | |
| | | | |
| # undef CG_DATATYPE_MACRO | | # undef CG_DATATYPE_MACRO | |
| | | | |
| } CGtype; | | } CGtype; | |
| | | | |
| skipping to change at line 177 | | skipping to change at line 177 | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
| # define CG_ERROR_MACRO(code, enum_name, message) \ | | # define CG_ERROR_MACRO(code, enum_name, message) \ | |
| enum_name = code, | | enum_name = code, | |
| # include <Cg/cg_errors.h> | | # include <Cg/cg_errors.h> | |
| } CGerror; | | } CGerror; | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
|
| | | # define CG_ENUM_MACRO(enum_name, enum_val) \ | |
| | | enum_name = enum_val, | |
| | | # include <Cg/cg_enums.h> | |
| | | } CGenum; | |
| | | | |
| | | //!!! PREPROCESS END | |
| | | | |
| | | typedef enum | |
| | | { | |
| CG_PARAMETERCLASS_UNKNOWN = 0, | | CG_PARAMETERCLASS_UNKNOWN = 0, | |
| CG_PARAMETERCLASS_SCALAR, | | CG_PARAMETERCLASS_SCALAR, | |
| CG_PARAMETERCLASS_VECTOR, | | CG_PARAMETERCLASS_VECTOR, | |
| CG_PARAMETERCLASS_MATRIX, | | CG_PARAMETERCLASS_MATRIX, | |
| CG_PARAMETERCLASS_STRUCT, | | CG_PARAMETERCLASS_STRUCT, | |
| CG_PARAMETERCLASS_ARRAY, | | CG_PARAMETERCLASS_ARRAY, | |
| CG_PARAMETERCLASS_SAMPLER, | | CG_PARAMETERCLASS_SAMPLER, | |
| CG_PARAMETERCLASS_OBJECT | | CG_PARAMETERCLASS_OBJECT | |
| } CGparameterclass; | | } CGparameterclass; | |
| | | | |
|
| //!!! PREPROCESS END | | | |
| | | | |
| typedef enum | | | |
| { | | | |
| # define CG_ENUM_MACRO(enum_name, enum_val) \ | | | |
| enum_name = enum_val, | | | |
| # include <Cg/cg_enums.h> | | | |
| } CGenum; | | | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
| CG_UNKNOWN_DOMAIN = 0, | | CG_UNKNOWN_DOMAIN = 0, | |
| CG_FIRST_DOMAIN = 1, | | CG_FIRST_DOMAIN = 1, | |
| CG_VERTEX_DOMAIN = 1, | | CG_VERTEX_DOMAIN = 1, | |
| CG_FRAGMENT_DOMAIN, | | CG_FRAGMENT_DOMAIN, | |
| CG_GEOMETRY_DOMAIN, | | CG_GEOMETRY_DOMAIN, | |
| CG_NUMBER_OF_DOMAINS | | CG_NUMBER_OF_DOMAINS | |
| } CGdomain; | | } CGdomain; | |
| | | | |
|
| | | typedef enum | |
| | | { | |
| | | CG_MAP_READ = 0, | |
| | | CG_MAP_WRITE, | |
| | | CG_MAP_READ_WRITE, | |
| | | CG_MAP_WRITE_DISCARD, | |
| | | CG_MAP_WRITE_NO_OVERWRITE | |
| | | } CGbufferaccess; | |
| | | | |
| | | typedef enum | |
| | | { | |
| | | CG_BUFFER_USAGE_STREAM_DRAW = 0, | |
| | | CG_BUFFER_USAGE_STREAM_READ, | |
| | | CG_BUFFER_USAGE_STREAM_COPY, | |
| | | CG_BUFFER_USAGE_STATIC_DRAW, | |
| | | CG_BUFFER_USAGE_STATIC_READ, | |
| | | CG_BUFFER_USAGE_STATIC_COPY, | |
| | | CG_BUFFER_USAGE_DYNAMIC_DRAW, | |
| | | CG_BUFFER_USAGE_DYNAMIC_READ, | |
| | | CG_BUFFER_USAGE_DYNAMIC_COPY | |
| | | } CGbufferusage; | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
| typedef CGbool (CGENTRY * CGstatecallback)(CGstateassignment); | | typedef CGbool (CGENTRY * CGstatecallback)(CGstateassignment); | |
| typedef void (CGENTRY * CGerrorCallbackFunc)(void); | | typedef void (CGENTRY * CGerrorCallbackFunc)(void); | |
| typedef void (CGENTRY * CGerrorHandlerFunc)(CGcontext ctx, CGerror err, voi
d *data); | | typedef void (CGENTRY * CGerrorHandlerFunc)(CGcontext ctx, CGerror err, voi
d *data); | |
|
| | | typedef void (CGENTRY * CGIncludeCallbackFunc)(CGcontext ctx, const char *f
ilename); | |
| | | | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| /*** Functions ***/ | | /*** Functions ***/ | |
| /*************************************************************************/ | | /*************************************************************************/ | |
| | | | |
| #ifndef CG_EXPLICIT | | #ifndef CG_EXPLICIT | |
| | | | |
|
| | | /*** Library policy functions ***/ | |
| | | | |
| | | CG_API CGenum CGENTRY cgSetLockingPolicy(CGenum lockingPolicy); | |
| | | CG_API CGenum CGENTRY cgGetLockingPolicy(void); | |
| | | CG_API CGenum CGENTRY cgSetSemanticCasePolicy(CGenum casePolicy); | |
| | | CG_API CGenum CGENTRY cgGetSemanticCasePolicy(void); | |
| | | | |
| /*** Context functions ***/ | | /*** Context functions ***/ | |
| | | | |
| CG_API CGcontext CGENTRY cgCreateContext(void); | | CG_API CGcontext CGENTRY cgCreateContext(void); | |
| CG_API void CGENTRY cgDestroyContext(CGcontext ctx); | | CG_API void CGENTRY cgDestroyContext(CGcontext ctx); | |
| CG_API CGbool CGENTRY cgIsContext(CGcontext ctx); | | CG_API CGbool CGENTRY cgIsContext(CGcontext ctx); | |
| CG_API const char * CGENTRY cgGetLastListing(CGcontext ctx); | | CG_API const char * CGENTRY cgGetLastListing(CGcontext ctx); | |
| CG_API void CGENTRY cgSetLastListing(CGhandle handle, const char *listing); | | CG_API void CGENTRY cgSetLastListing(CGhandle handle, const char *listing); | |
| CG_API void CGENTRY cgSetAutoCompile(CGcontext ctx, CGenum flag); | | CG_API void CGENTRY cgSetAutoCompile(CGcontext ctx, CGenum flag); | |
| CG_API CGenum CGENTRY cgGetAutoCompile(CGcontext ctx); | | CG_API CGenum CGENTRY cgGetAutoCompile(CGcontext ctx); | |
|
| | | CG_API void CGENTRY cgSetParameterSettingMode(CGcontext ctx, CGenum paramet | |
| | | erSettingMode); | |
| | | CG_API CGenum CGENTRY cgGetParameterSettingMode(CGcontext ctx); | |
| | | | |
| | | /*** Inclusion ***/ | |
| | | | |
| | | CG_API void CGENTRY cgSetCompilerIncludeString(CGcontext ctx, const char *n | |
| | | ame, const char *source); | |
| | | CG_API void CGENTRY cgSetCompilerIncludeFile(CGcontext ctx, const char *nam | |
| | | e, const char *filename); | |
| | | CG_API void CGENTRY cgSetCompilerIncludeCallback(CGcontext ctx, CGIncludeCa | |
| | | llbackFunc func); | |
| | | CG_API CGIncludeCallbackFunc CGENTRY cgGetCompilerIncludeCallback(CGcontext | |
| | | ctx); | |
| | | | |
| /*** Program functions ***/ | | /*** Program functions ***/ | |
| | | | |
| CG_API CGprogram CGENTRY cgCreateProgram(CGcontext ctx, | | CG_API CGprogram CGENTRY cgCreateProgram(CGcontext ctx, | |
| CGenum program_type, | | CGenum program_type, | |
| const char *program, | | const char *program, | |
| CGprofile profile, | | CGprofile profile, | |
| const char *entry, | | const char *entry, | |
| const char **args); | | const char **args); | |
| CG_API CGprogram CGENTRY cgCreateProgramFromFile(CGcontext ctx, | | CG_API CGprogram CGENTRY cgCreateProgramFromFile(CGcontext ctx, | |
| | | | |
| skipping to change at line 258 | | skipping to change at line 297 | |
| CG_API CGprogram CGENTRY cgGetNextProgram(CGprogram current); | | CG_API CGprogram CGENTRY cgGetNextProgram(CGprogram current); | |
| CG_API CGcontext CGENTRY cgGetProgramContext(CGprogram prog); | | CG_API CGcontext CGENTRY cgGetProgramContext(CGprogram prog); | |
| CG_API CGbool CGENTRY cgIsProgram(CGprogram program); | | CG_API CGbool CGENTRY cgIsProgram(CGprogram program); | |
| | | | |
| CG_API void CGENTRY cgCompileProgram(CGprogram program); | | CG_API void CGENTRY cgCompileProgram(CGprogram program); | |
| CG_API CGbool CGENTRY cgIsProgramCompiled(CGprogram program); | | CG_API CGbool CGENTRY cgIsProgramCompiled(CGprogram program); | |
| CG_API const char * CGENTRY cgGetProgramString(CGprogram prog, CGenum pname
); | | CG_API const char * CGENTRY cgGetProgramString(CGprogram prog, CGenum pname
); | |
| CG_API CGprofile CGENTRY cgGetProgramProfile(CGprogram prog); | | CG_API CGprofile CGENTRY cgGetProgramProfile(CGprogram prog); | |
| CG_API char const * const * CGENTRY cgGetProgramOptions(CGprogram prog); | | CG_API char const * const * CGENTRY cgGetProgramOptions(CGprogram prog); | |
| CG_API void CGENTRY cgSetProgramProfile(CGprogram prog, CGprofile profile); | | CG_API void CGENTRY cgSetProgramProfile(CGprogram prog, CGprofile profile); | |
|
| | | CG_API CGenum CGENTRY cgGetProgramInput(CGprogram program); | |
| | | CG_API CGenum CGENTRY cgGetProgramOutput(CGprogram program); | |
| CG_API void CGENTRY cgSetPassProgramParameters(CGprogram); | | CG_API void CGENTRY cgSetPassProgramParameters(CGprogram); | |
|
| | | CG_API void CGENTRY cgUpdateProgramParameters(CGprogram program); | |
| | | CG_API void CGENTRY cgUpdatePassParameters(CGpass pass); | |
| | | | |
| /*** Parameter functions ***/ | | /*** Parameter functions ***/ | |
| | | | |
| CG_API CGparameter CGENTRY cgCreateParameter(CGcontext ctx, CGtype type); | | CG_API CGparameter CGENTRY cgCreateParameter(CGcontext ctx, CGtype type); | |
| CG_API CGparameter CGENTRY cgCreateParameterArray(CGcontext ctx, | | CG_API CGparameter CGENTRY cgCreateParameterArray(CGcontext ctx, | |
| CGtype type, | | CGtype type, | |
| int length); | | int length); | |
| CG_API CGparameter CGENTRY cgCreateParameterMultiDimArray(CGcontext ctx, | | CG_API CGparameter CGENTRY cgCreateParameterMultiDimArray(CGcontext ctx, | |
| CGtype type, | | CGtype type, | |
| int dim, | | int dim, | |
| | | | |
| skipping to change at line 336 | | skipping to change at line 378 | |
| CG_API void CGENTRY cgSetParameterValuefr(CGparameter param, int n, const f
loat *vals); | | CG_API void CGENTRY cgSetParameterValuefr(CGparameter param, int n, const f
loat *vals); | |
| CG_API void CGENTRY cgSetParameterValuefc(CGparameter param, int n, const f
loat *vals); | | CG_API void CGENTRY cgSetParameterValuefc(CGparameter param, int n, const f
loat *vals); | |
| CG_API void CGENTRY cgSetParameterValueir(CGparameter param, int n, const i
nt *vals); | | CG_API void CGENTRY cgSetParameterValueir(CGparameter param, int n, const i
nt *vals); | |
| CG_API void CGENTRY cgSetParameterValueic(CGparameter param, int n, const i
nt *vals); | | CG_API void CGENTRY cgSetParameterValueic(CGparameter param, int n, const i
nt *vals); | |
| CG_API int CGENTRY cgGetParameterValuedr(CGparameter param, int n, double *
vals); | | CG_API int CGENTRY cgGetParameterValuedr(CGparameter param, int n, double *
vals); | |
| CG_API int CGENTRY cgGetParameterValuedc(CGparameter param, int n, double *
vals); | | CG_API int CGENTRY cgGetParameterValuedc(CGparameter param, int n, double *
vals); | |
| CG_API int CGENTRY cgGetParameterValuefr(CGparameter param, int n, float *v
als); | | CG_API int CGENTRY cgGetParameterValuefr(CGparameter param, int n, float *v
als); | |
| CG_API int CGENTRY cgGetParameterValuefc(CGparameter param, int n, float *v
als); | | CG_API int CGENTRY cgGetParameterValuefc(CGparameter param, int n, float *v
als); | |
| CG_API int CGENTRY cgGetParameterValueir(CGparameter param, int n, int *val
s); | | CG_API int CGENTRY cgGetParameterValueir(CGparameter param, int n, int *val
s); | |
| CG_API int CGENTRY cgGetParameterValueic(CGparameter param, int n, int *val
s); | | CG_API int CGENTRY cgGetParameterValueic(CGparameter param, int n, int *val
s); | |
|
| | | CG_API int CGENTRY cgGetParameterDefaultValuedr(CGparameter param, int n, d | |
| | | ouble *vals); | |
| | | CG_API int CGENTRY cgGetParameterDefaultValuedc(CGparameter param, int n, d | |
| | | ouble *vals); | |
| | | CG_API int CGENTRY cgGetParameterDefaultValuefr(CGparameter param, int n, f | |
| | | loat *vals); | |
| | | CG_API int CGENTRY cgGetParameterDefaultValuefc(CGparameter param, int n, f | |
| | | loat *vals); | |
| | | CG_API int CGENTRY cgGetParameterDefaultValueir(CGparameter param, int n, i | |
| | | nt *vals); | |
| | | CG_API int CGENTRY cgGetParameterDefaultValueic(CGparameter param, int n, i | |
| | | nt *vals); | |
| CG_API const char * CGENTRY cgGetStringParameterValue(CGparameter param); | | CG_API const char * CGENTRY cgGetStringParameterValue(CGparameter param); | |
| CG_API void CGENTRY cgSetStringParameterValue(CGparameter param, const char
*str); | | CG_API void CGENTRY cgSetStringParameterValue(CGparameter param, const char
*str); | |
| | | | |
| CG_API int CGENTRY cgGetParameterOrdinalNumber(CGparameter param); | | CG_API int CGENTRY cgGetParameterOrdinalNumber(CGparameter param); | |
| CG_API CGbool CGENTRY cgIsParameterGlobal(CGparameter param); | | CG_API CGbool CGENTRY cgIsParameterGlobal(CGparameter param); | |
| CG_API int CGENTRY cgGetParameterIndex(CGparameter param); | | CG_API int CGENTRY cgGetParameterIndex(CGparameter param); | |
| | | | |
| CG_API void CGENTRY cgSetParameterVariability(CGparameter param, CGenum var
y); | | CG_API void CGENTRY cgSetParameterVariability(CGparameter param, CGenum var
y); | |
| CG_API void CGENTRY cgSetParameterSemantic(CGparameter param, const char *s
emantic); | | CG_API void CGENTRY cgSetParameterSemantic(CGparameter param, const char *s
emantic); | |
| | | | |
| | | | |
| skipping to change at line 451 | | skipping to change at line 499 | |
| CG_API CGerrorCallbackFunc CGENTRY cgGetErrorCallback(void); | | CG_API CGerrorCallbackFunc CGENTRY cgGetErrorCallback(void); | |
| CG_API void CGENTRY cgSetErrorHandler(CGerrorHandlerFunc func, void *data); | | CG_API void CGENTRY cgSetErrorHandler(CGerrorHandlerFunc func, void *data); | |
| CG_API CGerrorHandlerFunc CGENTRY cgGetErrorHandler(void **data); | | CG_API CGerrorHandlerFunc CGENTRY cgGetErrorHandler(void **data); | |
| | | | |
| /*** Misc Functions ***/ | | /*** Misc Functions ***/ | |
| | | | |
| CG_API const char * CGENTRY cgGetString(CGenum sname); | | CG_API const char * CGENTRY cgGetString(CGenum sname); | |
| | | | |
| /*** CgFX Functions ***/ | | /*** CgFX Functions ***/ | |
| | | | |
|
| #ifndef CG_NO_CGFX_API | | CG_API CGeffect CGENTRY cgCreateEffect(CGcontext, const char *code, const c | |
| CGFX_API CGeffect CGENTRY cgCreateEffect(CGcontext, const char *code, const | | har **args); | |
| char **args); | | CG_API CGeffect CGENTRY cgCreateEffectFromFile(CGcontext, const char *filen | |
| CGFX_API CGeffect CGENTRY cgCreateEffectFromFile(CGcontext, const char *fil | | ame, | |
| ename, | | const char **args); | |
| const char **args); | | CG_API CGeffect CGENTRY cgCopyEffect(CGeffect effect); | |
| CGFX_API void CGENTRY cgDestroyEffect(CGeffect); | | CG_API void CGENTRY cgDestroyEffect(CGeffect); | |
| CGFX_API CGcontext CGENTRY cgGetEffectContext(CGeffect); | | CG_API CGcontext CGENTRY cgGetEffectContext(CGeffect); | |
| CGFX_API CGbool CGENTRY cgIsEffect(CGeffect effect); | | CG_API CGbool CGENTRY cgIsEffect(CGeffect effect); | |
| | | | |
|
| CGFX_API CGeffect CGENTRY cgGetFirstEffect(CGcontext); | | CG_API CGeffect CGENTRY cgGetFirstEffect(CGcontext); | |
| CGFX_API CGeffect CGENTRY cgGetNextEffect(CGeffect); | | CG_API CGeffect CGENTRY cgGetNextEffect(CGeffect); | |
| | | | |
|
| CGFX_API CGprogram CGENTRY cgCreateProgramFromEffect(CGeffect effect, | | CG_API CGprogram CGENTRY cgCreateProgramFromEffect(CGeffect effect, | |
| CGprofile profile, | | CGprofile profile, | |
| const char *entry, | | const char *entry, | |
| const char **args); | | const char **args); | |
| | | | |
|
| CGFX_API CGtechnique CGENTRY cgGetFirstTechnique(CGeffect); | | CG_API CGtechnique CGENTRY cgGetFirstTechnique(CGeffect); | |
| CGFX_API CGtechnique CGENTRY cgGetNextTechnique(CGtechnique); | | CG_API CGtechnique CGENTRY cgGetNextTechnique(CGtechnique); | |
| CGFX_API CGtechnique CGENTRY cgGetNamedTechnique(CGeffect, const char *name | | CG_API CGtechnique CGENTRY cgGetNamedTechnique(CGeffect, const char *name); | |
| ); | | CG_API const char * CGENTRY cgGetTechniqueName(CGtechnique); | |
| CGFX_API const char * CGENTRY cgGetTechniqueName(CGtechnique); | | CG_API CGbool CGENTRY cgIsTechnique(CGtechnique); | |
| CGFX_API CGbool CGENTRY cgIsTechnique(CGtechnique); | | CG_API CGbool CGENTRY cgValidateTechnique(CGtechnique); | |
| CGFX_API CGbool CGENTRY cgValidateTechnique(CGtechnique); | | CG_API CGbool CGENTRY cgIsTechniqueValidated(CGtechnique); | |
| CGFX_API CGbool CGENTRY cgIsTechniqueValidated(CGtechnique); | | CG_API CGeffect CGENTRY cgGetTechniqueEffect(CGtechnique); | |
| CGFX_API CGeffect CGENTRY cgGetTechniqueEffect(CGtechnique); | | | |
| | | | |
|
| CGFX_API CGpass CGENTRY cgGetFirstPass(CGtechnique); | | CG_API CGpass CGENTRY cgGetFirstPass(CGtechnique); | |
| CGFX_API CGpass CGENTRY cgGetNamedPass(CGtechnique, const char *name); | | CG_API CGpass CGENTRY cgGetNamedPass(CGtechnique, const char *name); | |
| CGFX_API CGpass CGENTRY cgGetNextPass(CGpass); | | CG_API CGpass CGENTRY cgGetNextPass(CGpass); | |
| CGFX_API CGbool CGENTRY cgIsPass(CGpass); | | CG_API CGbool CGENTRY cgIsPass(CGpass); | |
| CGFX_API const char * CGENTRY cgGetPassName(CGpass); | | CG_API const char * CGENTRY cgGetPassName(CGpass); | |
| CGFX_API CGtechnique CGENTRY cgGetPassTechnique(CGpass); | | CG_API CGtechnique CGENTRY cgGetPassTechnique(CGpass); | |
| | | CG_API CGprogram CGENTRY cgGetPassProgram(CGpass pass, CGdomain domain); | |
| | | | |
|
| CGFX_API void CGENTRY cgSetPassState(CGpass); | | CG_API void CGENTRY cgSetPassState(CGpass); | |
| CGFX_API void CGENTRY cgResetPassState(CGpass); | | CG_API void CGENTRY cgResetPassState(CGpass); | |
| | | | |
|
| CGFX_API CGstateassignment CGENTRY cgGetFirstStateAssignment(CGpass); | | CG_API CGstateassignment CGENTRY cgGetFirstStateAssignment(CGpass); | |
| CGFX_API CGstateassignment CGENTRY cgGetNamedStateAssignment(CGpass, const | | CG_API CGstateassignment CGENTRY cgGetNamedStateAssignment(CGpass, const ch | |
| char *name); | | ar *name); | |
| CGFX_API CGstateassignment CGENTRY cgGetNextStateAssignment(CGstateassignme | | CG_API CGstateassignment CGENTRY cgGetNextStateAssignment(CGstateassignment | |
| nt); | | ); | |
| CGFX_API CGbool CGENTRY cgIsStateAssignment(CGstateassignment); | | CG_API CGbool CGENTRY cgIsStateAssignment(CGstateassignment); | |
| CGFX_API CGbool CGENTRY cgCallStateSetCallback(CGstateassignment); | | CG_API CGbool CGENTRY cgCallStateSetCallback(CGstateassignment); | |
| CGFX_API CGbool CGENTRY cgCallStateValidateCallback(CGstateassignment); | | CG_API CGbool CGENTRY cgCallStateValidateCallback(CGstateassignment); | |
| CGFX_API CGbool CGENTRY cgCallStateResetCallback(CGstateassignment); | | CG_API CGbool CGENTRY cgCallStateResetCallback(CGstateassignment); | |
| CGFX_API CGpass CGENTRY cgGetStateAssignmentPass(CGstateassignment); | | CG_API CGpass CGENTRY cgGetStateAssignmentPass(CGstateassignment); | |
| CGFX_API CGparameter CGENTRY cgGetSamplerStateAssignmentParameter(CGstateas | | CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentParameter(CGstateassi | |
| signment); | | gnment); | |
| | | | |
|
| CGFX_API const float * CGENTRY cgGetFloatStateAssignmentValues(CGstateassig | | CG_API const float * CGENTRY cgGetFloatStateAssignmentValues(CGstateassignm | |
| nment, int *nVals); | | ent, int *nVals); | |
| CGFX_API const int * CGENTRY cgGetIntStateAssignmentValues(CGstateassignmen | | CG_API const int * CGENTRY cgGetIntStateAssignmentValues(CGstateassignment, | |
| t, int *nVals); | | int *nVals); | |
| CGFX_API const CGbool * CGENTRY cgGetBoolStateAssignmentValues(CGstateassig | | CG_API const CGbool * CGENTRY cgGetBoolStateAssignmentValues(CGstateassignm | |
| nment, int *nVals); | | ent, int *nVals); | |
| CGFX_API const char * CGENTRY cgGetStringStateAssignmentValue(CGstateassign | | CG_API const char * CGENTRY cgGetStringStateAssignmentValue(CGstateassignme | |
| ment); | | nt); | |
| CGFX_API CGprogram CGENTRY cgGetProgramStateAssignmentValue(CGstateassignme | | CG_API CGprogram CGENTRY cgGetProgramStateAssignmentValue(CGstateassignment | |
| nt); | | ); | |
| CGFX_API CGparameter CGENTRY cgGetTextureStateAssignmentValue(CGstateassign | | CG_API CGparameter CGENTRY cgGetTextureStateAssignmentValue(CGstateassignme | |
| ment); | | nt); | |
| CGFX_API CGparameter CGENTRY cgGetSamplerStateAssignmentValue(CGstateassign | | CG_API CGparameter CGENTRY cgGetSamplerStateAssignmentValue(CGstateassignme | |
| ment); | | nt); | |
| CGFX_API int CGENTRY cgGetStateAssignmentIndex(CGstateassignment); | | CG_API int CGENTRY cgGetStateAssignmentIndex(CGstateassignment); | |
| | | | |
|
| CGFX_API int CGENTRY cgGetNumDependentStateAssignmentParameters(CGstateassi | | CG_API int CGENTRY cgGetNumDependentStateAssignmentParameters(CGstateassign | |
| gnment); | | ment); | |
| CGFX_API CGparameter CGENTRY cgGetDependentStateAssignmentParameter(CGstate | | CG_API CGparameter CGENTRY cgGetDependentStateAssignmentParameter(CGstateas | |
| assignment, int index); | | signment, int index); | |
| | | | |
|
| CGFX_API CGstate CGENTRY cgGetStateAssignmentState(CGstateassignment); | | CG_API CGparameter CGENTRY cgGetConnectedStateAssignmentParameter(CGstateas | |
| CGFX_API CGstate CGENTRY cgGetSamplerStateAssignmentState(CGstateassignment | | signment); | |
| ); | | | |
| | | | |
|
| CGFX_API CGstate CGENTRY cgCreateState(CGcontext, const char *name, CGtype) | | CG_API CGstate CGENTRY cgGetStateAssignmentState(CGstateassignment); | |
| ; | | CG_API CGstate CGENTRY cgGetSamplerStateAssignmentState(CGstateassignment); | |
| CGFX_API CGstate CGENTRY cgCreateArrayState(CGcontext, const char *name, CG | | | |
| type, int nelems); | | CG_API CGstate CGENTRY cgCreateState(CGcontext, const char *name, CGtype); | |
| CGFX_API void CGENTRY cgSetStateCallbacks(CGstate, CGstatecallback set, CGs | | CG_API CGstate CGENTRY cgCreateArrayState(CGcontext, const char *name, CGty | |
| tatecallback reset, | | pe, int nelems); | |
| | | CG_API void CGENTRY cgSetStateCallbacks(CGstate, CGstatecallback set, CGsta | |
| | | tecallback reset, | |
| CGstatecallback validate); | | CGstatecallback validate); | |
|
| CGFX_API CGstatecallback CGENTRY cgGetStateSetCallback(CGstate); | | CG_API CGstatecallback CGENTRY cgGetStateSetCallback(CGstate); | |
| CGFX_API CGstatecallback CGENTRY cgGetStateResetCallback(CGstate); | | CG_API CGstatecallback CGENTRY cgGetStateResetCallback(CGstate); | |
| CGFX_API CGstatecallback CGENTRY cgGetStateValidateCallback(CGstate); | | CG_API CGstatecallback CGENTRY cgGetStateValidateCallback(CGstate); | |
| CGFX_API CGcontext CGENTRY cgGetStateContext(CGstate); | | CG_API CGcontext CGENTRY cgGetStateContext(CGstate); | |
| CGFX_API CGtype CGENTRY cgGetStateType(CGstate); | | CG_API CGtype CGENTRY cgGetStateType(CGstate); | |
| CGFX_API const char * CGENTRY cgGetStateName(CGstate); | | CG_API const char * CGENTRY cgGetStateName(CGstate); | |
| CGFX_API CGstate CGENTRY cgGetNamedState(CGcontext, const char *name); | | CG_API CGstate CGENTRY cgGetNamedState(CGcontext, const char *name); | |
| CGFX_API CGstate CGENTRY cgGetFirstState(CGcontext); | | CG_API CGstate CGENTRY cgGetFirstState(CGcontext); | |
| CGFX_API CGstate CGENTRY cgGetNextState(CGstate); | | CG_API CGstate CGENTRY cgGetNextState(CGstate); | |
| CGFX_API CGbool CGENTRY cgIsState(CGstate); | | CG_API CGbool CGENTRY cgIsState(CGstate); | |
| CGFX_API void CGENTRY cgAddStateEnumerant(CGstate, const char *name, int va | | CG_API void CGENTRY cgAddStateEnumerant(CGstate, const char *name, int valu | |
| lue); | | e); | |
| | | | |
|
| CGFX_API CGstate CGENTRY cgCreateSamplerState(CGcontext, const char *name, | | CG_API CGstate CGENTRY cgCreateSamplerState(CGcontext, const char *name, CG | |
| CGtype); | | type); | |
| CGFX_API CGstate CGENTRY cgCreateArraySamplerState(CGcontext, const char *n | | CG_API CGstate CGENTRY cgCreateArraySamplerState(CGcontext, const char *nam | |
| ame, CGtype, int nelems); | | e, CGtype, int nelems); | |
| CGFX_API CGstate CGENTRY cgGetNamedSamplerState(CGcontext, const char *name | | CG_API CGstate CGENTRY cgGetNamedSamplerState(CGcontext, const char *name); | |
| ); | | CG_API CGstate CGENTRY cgGetFirstSamplerState(CGcontext); | |
| CGFX_API CGstate CGENTRY cgGetFirstSamplerState(CGcontext); | | | |
| | | | |
|
| CGFX_API CGstateassignment CGENTRY cgGetFirstSamplerStateAssignment(CGparam | | CG_API CGstateassignment CGENTRY cgGetFirstSamplerStateAssignment(CGparamet | |
| eter); | | er); | |
| CGFX_API CGstateassignment CGENTRY cgGetNamedSamplerStateAssignment(CGparam | | CG_API CGstateassignment CGENTRY cgGetNamedSamplerStateAssignment(CGparamet | |
| eter, const char *); | | er, const char *); | |
| CGFX_API void CGENTRY cgSetSamplerState(CGparameter); | | CG_API void CGENTRY cgSetSamplerState(CGparameter); | |
| | | | |
|
| CGFX_API CGparameter CGENTRY cgGetNamedEffectParameter(CGeffect, const char | | CG_API CGparameter CGENTRY cgGetNamedEffectParameter(CGeffect, const char * | |
| *); | | ); | |
| CGFX_API CGparameter CGENTRY cgGetFirstLeafEffectParameter(CGeffect); | | CG_API CGparameter CGENTRY cgGetFirstLeafEffectParameter(CGeffect); | |
| CGFX_API CGparameter CGENTRY cgGetFirstEffectParameter(CGeffect); | | CG_API CGparameter CGENTRY cgGetFirstEffectParameter(CGeffect); | |
| CGFX_API CGparameter CGENTRY cgGetEffectParameterBySemantic(CGeffect, const | | CG_API CGparameter CGENTRY cgGetEffectParameterBySemantic(CGeffect, const c | |
| char *); | | har *); | |
| | | | |
|
| CGFX_API CGannotation CGENTRY cgGetFirstTechniqueAnnotation(CGtechnique); | | CG_API CGannotation CGENTRY cgGetFirstTechniqueAnnotation(CGtechnique); | |
| CGFX_API CGannotation CGENTRY cgGetFirstPassAnnotation(CGpass); | | CG_API CGannotation CGENTRY cgGetFirstPassAnnotation(CGpass); | |
| CGFX_API CGannotation CGENTRY cgGetFirstParameterAnnotation(CGparameter); | | CG_API CGannotation CGENTRY cgGetFirstParameterAnnotation(CGparameter); | |
| CGFX_API CGannotation CGENTRY cgGetFirstProgramAnnotation(CGprogram); | | CG_API CGannotation CGENTRY cgGetFirstProgramAnnotation(CGprogram); | |
| CGFX_API CGannotation CGENTRY cgGetFirstEffectAnnotation(CGeffect); | | CG_API CGannotation CGENTRY cgGetFirstEffectAnnotation(CGeffect); | |
| CGFX_API CGannotation CGENTRY cgGetNextAnnotation(CGannotation); | | CG_API CGannotation CGENTRY cgGetNextAnnotation(CGannotation); | |
| | | | |
|
| CGFX_API CGannotation CGENTRY cgGetNamedTechniqueAnnotation(CGtechnique, co | | CG_API CGannotation CGENTRY cgGetNamedTechniqueAnnotation(CGtechnique, cons | |
| nst char *); | | t char *); | |
| CGFX_API CGannotation CGENTRY cgGetNamedPassAnnotation(CGpass, const char * | | CG_API CGannotation CGENTRY cgGetNamedPassAnnotation(CGpass, const char *); | |
| ); | | CG_API CGannotation CGENTRY cgGetNamedParameterAnnotation(CGparameter, cons | |
| CGFX_API CGannotation CGENTRY cgGetNamedParameterAnnotation(CGparameter, co | | t char *); | |
| nst char *); | | CG_API CGannotation CGENTRY cgGetNamedProgramAnnotation(CGprogram, const ch | |
| CGFX_API CGannotation CGENTRY cgGetNamedProgramAnnotation(CGprogram, const | | ar *); | |
| char *); | | CG_API CGannotation CGENTRY cgGetNamedEffectAnnotation(CGeffect, const char | |
| CGFX_API CGannotation CGENTRY cgGetNamedEffectAnnotation(CGeffect, const ch | | *); | |
| ar *); | | | |
| | | | |
|
| CGFX_API CGbool CGENTRY cgIsAnnotation(CGannotation); | | CG_API CGbool CGENTRY cgIsAnnotation(CGannotation); | |
| | | | |
|
| CGFX_API const char * CGENTRY cgGetAnnotationName(CGannotation); | | CG_API const char * CGENTRY cgGetAnnotationName(CGannotation); | |
| CGFX_API CGtype CGENTRY cgGetAnnotationType(CGannotation); | | CG_API CGtype CGENTRY cgGetAnnotationType(CGannotation); | |
| | | | |
|
| CGFX_API const float * CGENTRY cgGetFloatAnnotationValues(CGannotation, int | | CG_API const float * CGENTRY cgGetFloatAnnotationValues(CGannotation, int * | |
| *nvalues); | | nvalues); | |
| CGFX_API const int * CGENTRY cgGetIntAnnotationValues(CGannotation, int *nv | | CG_API const int * CGENTRY cgGetIntAnnotationValues(CGannotation, int *nval | |
| alues); | | ues); | |
| CGFX_API const char * CGENTRY cgGetStringAnnotationValue(CGannotation); | | CG_API const char * CGENTRY cgGetStringAnnotationValue(CGannotation); | |
| CGFX_API const CGbool * CGENTRY cgGetBoolAnnotationValues(CGannotation, int | | CG_API const char * const * CGENTRY cgGetStringAnnotationValues(CGannotatio | |
| *nvalues); | | n, int *nvalues); | |
| CGFX_API const int * CGENTRY cgGetBooleanAnnotationValues(CGannotation, int | | CG_API const CGbool * CGENTRY cgGetBoolAnnotationValues(CGannotation, int * | |
| *nvalues); | | nvalues); | |
| | | CG_API const int * CGENTRY cgGetBooleanAnnotationValues(CGannotation, int * | |
| | | nvalues); | |
| | | | |
|
| CGFX_API int CGENTRY cgGetNumDependentAnnotationParameters(CGannotation); | | CG_API int CGENTRY cgGetNumDependentAnnotationParameters(CGannotation); | |
| CGFX_API CGparameter CGENTRY cgGetDependentAnnotationParameter(CGannotation | | CG_API CGparameter CGENTRY cgGetDependentAnnotationParameter(CGannotation, | |
| , int index); | | int index); | |
| | | | |
|
| CGFX_API void CGENTRY cgEvaluateProgram(CGprogram, float *, int ncomps, int | | CG_API void CGENTRY cgEvaluateProgram(CGprogram, float *, int ncomps, int n | |
| nx, int ny, int nz); | | x, int ny, int nz); | |
| #endif /* CG_NO_CGFX_API */ | | | |
| | | | |
| /*** Cg 1.5 Additions ***/ | | /*** Cg 1.5 Additions ***/ | |
| | | | |
|
| #ifndef CG_NO_CGFX_API | | CG_API CGbool CGENTRY cgSetEffectName(CGeffect, const char *name); | |
| CGFX_API CGbool CGENTRY cgSetEffectName(CGeffect, const char *name); | | CG_API const char * CGENTRY cgGetEffectName(CGeffect); | |
| CGFX_API const char * CGENTRY cgGetEffectName(CGeffect); | | CG_API CGeffect CGENTRY cgGetNamedEffect(CGcontext, const char *name); | |
| CGFX_API CGeffect CGENTRY cgGetNamedEffect(CGcontext, const char *name); | | CG_API CGparameter CGENTRY cgCreateEffectParameter(CGeffect, const char *na | |
| CGFX_API CGparameter CGENTRY cgCreateEffectParameter(CGeffect, const char * | | me, CGtype); | |
| name, CGtype); | | | |
| | | | |
|
| CGFX_API CGtechnique CGENTRY cgCreateTechnique(CGeffect, const char *name); | | CG_API CGtechnique CGENTRY cgCreateTechnique(CGeffect, const char *name); | |
| | | | |
|
| CGFX_API CGparameter CGENTRY cgCreateEffectParameterArray(CGeffect, const c | | CG_API CGparameter CGENTRY cgCreateEffectParameterArray(CGeffect, const cha | |
| har *name, CGtype type, int length); | | r *name, CGtype type, int length); | |
| CGFX_API CGparameter CGENTRY cgCreateEffectParameterMultiDimArray(CGeffect, | | CG_API CGparameter CGENTRY cgCreateEffectParameterMultiDimArray(CGeffect, c | |
| const char *name, CGtype type, int dim, const int *lengths); | | onst char *name, CGtype type, int dim, const int *lengths); | |
| | | | |
|
| CGFX_API CGpass CGENTRY cgCreatePass(CGtechnique, const char *name); | | CG_API CGpass CGENTRY cgCreatePass(CGtechnique, const char *name); | |
| | | | |
|
| CGFX_API CGstateassignment CGENTRY cgCreateStateAssignment(CGpass, CGstate) | | CG_API CGstateassignment CGENTRY cgCreateStateAssignment(CGpass, CGstate); | |
| ; | | CG_API CGstateassignment CGENTRY cgCreateStateAssignmentIndex(CGpass, CGsta | |
| CGFX_API CGstateassignment CGENTRY cgCreateStateAssignmentIndex(CGpass, CGs | | te, int index); | |
| tate, int index); | | CG_API CGstateassignment CGENTRY cgCreateSamplerStateAssignment(CGparameter | |
| CGFX_API CGstateassignment CGENTRY cgCreateSamplerStateAssignment(CGparamet | | , CGstate); | |
| er, CGstate); | | | |
| | | | |
|
| CGFX_API CGbool CGENTRY cgSetFloatStateAssignment(CGstateassignment, float) | | CG_API CGbool CGENTRY cgSetFloatStateAssignment(CGstateassignment, float); | |
| ; | | CG_API CGbool CGENTRY cgSetIntStateAssignment(CGstateassignment, int); | |
| CGFX_API CGbool CGENTRY cgSetIntStateAssignment(CGstateassignment, int); | | CG_API CGbool CGENTRY cgSetBoolStateAssignment(CGstateassignment, CGbool); | |
| CGFX_API CGbool CGENTRY cgSetBoolStateAssignment(CGstateassignment, CGbool) | | CG_API CGbool CGENTRY cgSetStringStateAssignment(CGstateassignment, const c | |
| ; | | har *); | |
| CGFX_API CGbool CGENTRY cgSetStringStateAssignment(CGstateassignment, const | | CG_API CGbool CGENTRY cgSetProgramStateAssignment(CGstateassignment, CGprog | |
| char *); | | ram); | |
| CGFX_API CGbool CGENTRY cgSetProgramStateAssignment(CGstateassignment, CGpr | | CG_API CGbool CGENTRY cgSetSamplerStateAssignment(CGstateassignment, CGpara | |
| ogram); | | meter); | |
| CGFX_API CGbool CGENTRY cgSetSamplerStateAssignment(CGstateassignment, CGpa | | CG_API CGbool CGENTRY cgSetTextureStateAssignment(CGstateassignment, CGpara | |
| rameter); | | meter); | |
| CGFX_API CGbool CGENTRY cgSetTextureStateAssignment(CGstateassignment, CGpa | | | |
| rameter); | | | |
| | | | |
|
| CGFX_API CGbool CGENTRY cgSetFloatArrayStateAssignment(CGstateassignment, c | | CG_API CGbool CGENTRY cgSetFloatArrayStateAssignment(CGstateassignment, con | |
| onst float *vals); | | st float *vals); | |
| CGFX_API CGbool CGENTRY cgSetIntArrayStateAssignment(CGstateassignment, con | | CG_API CGbool CGENTRY cgSetIntArrayStateAssignment(CGstateassignment, const | |
| st int *vals); | | int *vals); | |
| CGFX_API CGbool CGENTRY cgSetBoolArrayStateAssignment(CGstateassignment, co | | CG_API CGbool CGENTRY cgSetBoolArrayStateAssignment(CGstateassignment, cons | |
| nst CGbool *vals); | | t CGbool *vals); | |
| | | | |
|
| CGFX_API CGannotation CGENTRY cgCreateTechniqueAnnotation(CGtechnique, cons | | CG_API CGannotation CGENTRY cgCreateTechniqueAnnotation(CGtechnique, const | |
| t char *name, CGtype); | | char *name, CGtype); | |
| CGFX_API CGannotation CGENTRY cgCreatePassAnnotation(CGpass, const char *na | | CG_API CGannotation CGENTRY cgCreatePassAnnotation(CGpass, const char *name | |
| me, CGtype); | | , CGtype); | |
| CGFX_API CGannotation CGENTRY cgCreateParameterAnnotation(CGparameter, cons | | CG_API CGannotation CGENTRY cgCreateParameterAnnotation(CGparameter, const | |
| t char *name, CGtype); | | char *name, CGtype); | |
| CGFX_API CGannotation CGENTRY cgCreateProgramAnnotation(CGprogram, const ch | | CG_API CGannotation CGENTRY cgCreateProgramAnnotation(CGprogram, const char | |
| ar *name, CGtype); | | *name, CGtype); | |
| CGFX_API CGannotation CGENTRY cgCreateEffectAnnotation(CGeffect, const char | | CG_API CGannotation CGENTRY cgCreateEffectAnnotation(CGeffect, const char * | |
| *name, CGtype); | | name, CGtype); | |
| | | | |
|
| CGFX_API CGbool CGENTRY cgSetIntAnnotation(CGannotation, int value); | | CG_API CGbool CGENTRY cgSetIntAnnotation(CGannotation, int value); | |
| CGFX_API CGbool CGENTRY cgSetFloatAnnotation(CGannotation, float value); | | CG_API CGbool CGENTRY cgSetFloatAnnotation(CGannotation, float value); | |
| CGFX_API CGbool CGENTRY cgSetBoolAnnotation(CGannotation, CGbool value); | | CG_API CGbool CGENTRY cgSetBoolAnnotation(CGannotation, CGbool value); | |
| CGFX_API CGbool CGENTRY cgSetStringAnnotation(CGannotation, const char *val | | CG_API CGbool CGENTRY cgSetStringAnnotation(CGannotation, const char *value | |
| ue); | | ); | |
| | | | |
|
| CGFX_API const char * CGENTRY cgGetStateEnumerantName(CGstate, int value); | | CG_API const char * CGENTRY cgGetStateEnumerantName(CGstate, int value); | |
| CGFX_API int CGENTRY cgGetStateEnumerantValue(CGstate, const char *name); | | CG_API int CGENTRY cgGetStateEnumerantValue(CGstate, const char *name); | |
| | | | |
|
| CGFX_API CGeffect CGENTRY cgGetParameterEffect(CGparameter param); | | CG_API CGeffect CGENTRY cgGetParameterEffect(CGparameter param); | |
| #endif /* CG_NO_CGFX_API */ | | | |
| | | | |
| CG_API CGparameterclass CGENTRY cgGetTypeClass(CGtype type); | | CG_API CGparameterclass CGENTRY cgGetTypeClass(CGtype type); | |
| CG_API CGtype CGENTRY cgGetTypeBase(CGtype type); | | CG_API CGtype CGENTRY cgGetTypeBase(CGtype type); | |
| CG_API CGbool CGENTRY cgGetTypeSizes(CGtype type, int *nrows, int *ncols); | | CG_API CGbool CGENTRY cgGetTypeSizes(CGtype type, int *nrows, int *ncols); | |
| CG_API void CGENTRY cgGetMatrixSize(CGtype type, int *nrows, int *ncols); | | CG_API void CGENTRY cgGetMatrixSize(CGtype type, int *nrows, int *ncols); | |
| | | | |
| CG_API int CGENTRY cgGetNumProgramDomains( CGprogram program ); | | CG_API int CGENTRY cgGetNumProgramDomains( CGprogram program ); | |
| CG_API CGdomain CGENTRY cgGetProfileDomain( CGprofile profile ); | | CG_API CGdomain CGENTRY cgGetProfileDomain( CGprofile profile ); | |
| CG_API CGprogram CGENTRY cgCombinePrograms( int n, const CGprogram *exeList
); | | CG_API CGprogram CGENTRY cgCombinePrograms( int n, const CGprogram *exeList
); | |
| CG_API CGprogram CGENTRY cgCombinePrograms2( const CGprogram exe1, const CG
program exe2 ); | | CG_API CGprogram CGENTRY cgCombinePrograms2( const CGprogram exe1, const CG
program exe2 ); | |
| CG_API CGprogram CGENTRY cgCombinePrograms3( const CGprogram exe1, const CG
program exe2, const CGprogram exe3 ); | | CG_API CGprogram CGENTRY cgCombinePrograms3( const CGprogram exe1, const CG
program exe2, const CGprogram exe3 ); | |
| CG_API CGprofile CGENTRY cgGetProgramDomainProfile(CGprogram program, int i
ndex); | | CG_API CGprofile CGENTRY cgGetProgramDomainProfile(CGprogram program, int i
ndex); | |
|
| | | CG_API CGprogram CGENTRY cgGetProgramDomainProgram(CGprogram program, int i | |
| | | ndex); | |
| | | | |
| | | /*** CGobj Functions ***/ | |
| | | CG_API CGobj CGENTRY cgCreateObj( CGcontext context, CGenum program_type, c | |
| | | onst char *source, CGprofile profile, const char **args ); | |
| | | CG_API CGobj CGENTRY cgCreateObjFromFile( CGcontext context, CGenum program | |
| | | _type, const char *source_file, CGprofile profile, const char **args ); | |
| | | CG_API void CGENTRY cgDestroyObj( CGobj obj ); | |
| | | | |
| | | CG_API long CGENTRY cgGetParameterResourceSize(CGparameter); | |
| | | CG_API CGtype CGENTRY cgGetParameterResourceType(CGparameter); | |
| | | CG_API const char* CGENTRY cgGetParameterResourceName(CGparameter param); | |
| | | CG_API int CGENTRY cgGetParameterBufferIndex(CGparameter); | |
| | | CG_API int CGENTRY cgGetParameterBufferOffset(CGparameter); | |
| | | | |
| | | CG_API CGbuffer CGENTRY cgCreateBuffer(CGcontext, int size, const void *dat | |
| | | a, CGbufferusage bufferUsage); | |
| | | CG_API void CGENTRY cgSetBufferData(CGbuffer, int size, const void *data); | |
| | | CG_API void CGENTRY cgSetBufferSubData(CGbuffer, int offset, int size, cons | |
| | | t void *data); | |
| | | CG_API void CGENTRY cgSetProgramBuffer(CGprogram program, int bufferIndex, | |
| | | CGbuffer buffer); | |
| | | | |
| | | CG_API void * CGENTRY cgMapBuffer(CGbuffer buffer, CGbufferaccess access); | |
| | | CG_API void CGENTRY cgUnmapBuffer(CGbuffer buffer); | |
| | | CG_API void CGENTRY cgDestroyBuffer(CGbuffer buffer); | |
| | | CG_API CGbuffer CGENTRY cgGetProgramBuffer(CGprogram, int bufferIndex); | |
| | | CG_API int CGENTRY cgGetBufferSize(CGbuffer); | |
| | | CG_API int CGENTRY cgGetProgramBufferMaxSize(CGprofile profile); | |
| | | CG_API int CGENTRY cgGetProgramBufferMaxIndex(CGprofile profile); | |
| | | | |
| #endif | | #endif | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| } | | } | |
| #endif | | #endif | |
| | | | |
| #ifdef CG_APIENTRY_DEFINED | | #ifdef CG_APIENTRY_DEFINED | |
| # undef CG_APIENTRY_DEFINED | | # undef CG_APIENTRY_DEFINED | |
| # undef APIENTRY | | # undef APIENTRY | |
| | | | |
End of changes. 53 change blocks. |
| 216 lines changed or deleted | | 301 lines changed or added | |
|
| cg_bindlocations.h | | cg_bindlocations.h | |
| | | | |
| /* | | /* | |
| * | | * | |
|
| * Copyright (c) 2002, NVIDIA Corporation. | | * Copyright (c) 2002-2008, NVIDIA Corporation. | |
| * | | * | |
| * | | * | |
| * | | * | |
| * NVIDIA Corporation("NVIDIA") supplies this software to you in considerat
ion | | * NVIDIA Corporation("NVIDIA") supplies this software to you in considerat
ion | |
| * of your agreement to the following terms, and your use, installation, | | * of your agreement to the following terms, and your use, installation, | |
| * modification or redistribution of this NVIDIA software constitutes | | * modification or redistribution of this NVIDIA software constitutes | |
| * acceptance of these terms. If you do not agree with these terms, please
do | | * acceptance of these terms. If you do not agree with these terms, please
do | |
| * not use, install, modify or redistribute this NVIDIA software. | | * not use, install, modify or redistribute this NVIDIA software. | |
| * | | * | |
| * | | * | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 89 | |
| CG_BINDLOCATION_MACRO(TexUnit7,CG_TEXUNIT7,"texunit 7",2055,0,CG_TEXOBJ_PAR
AM) | | CG_BINDLOCATION_MACRO(TexUnit7,CG_TEXUNIT7,"texunit 7",2055,0,CG_TEXOBJ_PAR
AM) | |
| CG_BINDLOCATION_MACRO(TexUnit8,CG_TEXUNIT8,"texunit 8",2056,0,CG_TEXOBJ_PAR
AM) | | CG_BINDLOCATION_MACRO(TexUnit8,CG_TEXUNIT8,"texunit 8",2056,0,CG_TEXOBJ_PAR
AM) | |
| CG_BINDLOCATION_MACRO(TexUnit9,CG_TEXUNIT9,"texunit 9",2057,0,CG_TEXOBJ_PAR
AM) | | CG_BINDLOCATION_MACRO(TexUnit9,CG_TEXUNIT9,"texunit 9",2057,0,CG_TEXOBJ_PAR
AM) | |
| CG_BINDLOCATION_MACRO(TexUnit10,CG_TEXUNIT10,"texunit 10",2058,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit10,CG_TEXUNIT10,"texunit 10",2058,0,CG_TEXOBJ_
PARAM) | |
| CG_BINDLOCATION_MACRO(TexUnit11,CG_TEXUNIT11,"texunit 11",2059,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit11,CG_TEXUNIT11,"texunit 11",2059,0,CG_TEXOBJ_
PARAM) | |
| CG_BINDLOCATION_MACRO(TexUnit12,CG_TEXUNIT12,"texunit 12",2060,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit12,CG_TEXUNIT12,"texunit 12",2060,0,CG_TEXOBJ_
PARAM) | |
| CG_BINDLOCATION_MACRO(TexUnit13,CG_TEXUNIT13,"texunit 13",2061,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit13,CG_TEXUNIT13,"texunit 13",2061,0,CG_TEXOBJ_
PARAM) | |
| CG_BINDLOCATION_MACRO(TexUnit14,CG_TEXUNIT14,"texunit 14",2062,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit14,CG_TEXUNIT14,"texunit 14",2062,0,CG_TEXOBJ_
PARAM) | |
| CG_BINDLOCATION_MACRO(TexUnit15,CG_TEXUNIT15,"texunit 15",2063,0,CG_TEXOBJ_
PARAM) | | CG_BINDLOCATION_MACRO(TexUnit15,CG_TEXUNIT15,"texunit 15",2063,0,CG_TEXOBJ_
PARAM) | |
| | | | |
|
| | | CG_BINDLOCATION_MACRO(Buffer0, CG_BUFFER0, "buffer[0]", 2064, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer1, CG_BUFFER1, "buffer[1]", 2065, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer2, CG_BUFFER2, "buffer[2]", 2066, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer3, CG_BUFFER3, "buffer[3]", 2067, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer4, CG_BUFFER4, "buffer[4]", 2068, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer5, CG_BUFFER5, "buffer[5]", 2069, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer6, CG_BUFFER6, "buffer[6]", 2070, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer7, CG_BUFFER7, "buffer[7]", 2071, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer8, CG_BUFFER8, "buffer[8]", 2072, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer9, CG_BUFFER9, "buffer[9]", 2073, 1, CGI_UNIFOR | |
| | | M_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer10, CG_BUFFER10, "buffer[10]", 2074, 1, CGI_UNI | |
| | | FORM_PARAM) | |
| | | CG_BINDLOCATION_MACRO(Buffer11, CG_BUFFER11, "buffer[11]", 2075, 1, CGI_UNI | |
| | | FORM_PARAM) | |
| | | | |
| CG_BINDLOCATION_MACRO(Attr0,CG_ATTR0,"ATTR0",2113,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr0,CG_ATTR0,"ATTR0",2113,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr1,CG_ATTR1,"ATTR1",2114,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr1,CG_ATTR1,"ATTR1",2114,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr2,CG_ATTR2,"ATTR2",2115,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr2,CG_ATTR2,"ATTR2",2115,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr3,CG_ATTR3,"ATTR3",2116,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr3,CG_ATTR3,"ATTR3",2116,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr4,CG_ATTR4,"ATTR4",2117,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr4,CG_ATTR4,"ATTR4",2117,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr5,CG_ATTR5,"ATTR5",2118,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr5,CG_ATTR5,"ATTR5",2118,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr6,CG_ATTR6,"ATTR6",2119,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr6,CG_ATTR6,"ATTR6",2119,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr7,CG_ATTR7,"ATTR7",2120,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr7,CG_ATTR7,"ATTR7",2120,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr8,CG_ATTR8,"ATTR8",2121,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr8,CG_ATTR8,"ATTR8",2121,0,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Attr9,CG_ATTR9,"ATTR9",2122,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Attr9,CG_ATTR9,"ATTR9",2122,0,CG_VARYING_PARAM) | |
| | | | |
| skipping to change at line 342 | | skipping to change at line 355 | |
| CG_BINDLOCATION_MACRO(OffsetTextureScale,CG_OFFSET_TEXTURE_SCALE,"OFFSET_TE
XTURE_SCALE",3289,0,CGI_UNIFORM_PARAM) | | CG_BINDLOCATION_MACRO(OffsetTextureScale,CG_OFFSET_TEXTURE_SCALE,"OFFSET_TE
XTURE_SCALE",3289,0,CGI_UNIFORM_PARAM) | |
| CG_BINDLOCATION_MACRO(OffsetTextureBias,CG_OFFSET_TEXTURE_BIAS,"OFFSET_TEXT
URE_BIAS",3290,0,CGI_UNIFORM_PARAM) | | CG_BINDLOCATION_MACRO(OffsetTextureBias,CG_OFFSET_TEXTURE_BIAS,"OFFSET_TEXT
URE_BIAS",3290,0,CGI_UNIFORM_PARAM) | |
| CG_BINDLOCATION_MACRO(ConstEye,CG_CONST_EYE,"CONST_EYE",3291,0,CGI_UNIFORM_
PARAM) | | CG_BINDLOCATION_MACRO(ConstEye,CG_CONST_EYE,"CONST_EYE",3291,0,CGI_UNIFORM_
PARAM) | |
| CG_BINDLOCATION_MACRO(Coverage, CG_COVERAGE, "COVERAGE", 3292, 0, CG_VARYIN
G_PARAM) | | CG_BINDLOCATION_MACRO(Coverage, CG_COVERAGE, "COVERAGE", 3292, 0, CG_VARYIN
G_PARAM) | |
| | | | |
| CG_BINDLOCATION_MACRO(TessFactor,CG_TESSFACTOR,"TESSFACTOR",3255,0,CG_VARYI
NG_PARAM) | | CG_BINDLOCATION_MACRO(TessFactor,CG_TESSFACTOR,"TESSFACTOR",3255,0,CG_VARYI
NG_PARAM) | |
| | | | |
| CG_BINDLOCATION_MACRO(GLSLUniform,CG_GLSL_UNIFORM,"glsl_uniform",3300,1,CGI
_UNIFORM_PARAM) | | CG_BINDLOCATION_MACRO(GLSLUniform,CG_GLSL_UNIFORM,"glsl_uniform",3300,1,CGI
_UNIFORM_PARAM) | |
| CG_BINDLOCATION_MACRO(GLSLAttrib,CG_GLSL_ATTRIB,"glsl_attrib",3301,1,CG_VAR
YING_PARAM) | | CG_BINDLOCATION_MACRO(GLSLAttrib,CG_GLSL_ATTRIB,"glsl_attrib",3301,1,CG_VAR
YING_PARAM) | |
| | | | |
|
| CG_BINDLOCATION_MACRO(Env,CG_ENV,"ENV",3302,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(Env,CG_ENV,"ENV",3302,1,CG_VARYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Env0,CG_ENV0,"ENV0",3303,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env1,CG_ENV1,"ENV1",3304,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(HLSLUniform,CG_HLSL_UNIFORM,"hlsl_uniform",3559,1,CGI | |
| CG_BINDLOCATION_MACRO(Env2,CG_ENV2,"ENV2",3305,0,CG_VARYING_PARAM) | | _UNIFORM_PARAM) | |
| CG_BINDLOCATION_MACRO(Env3,CG_ENV3,"ENV3",3306,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(HLSLAttrib,CG_HLSL_VARYING,"hlsl_attrib",3560,1,CG_VA | |
| CG_BINDLOCATION_MACRO(Env4,CG_ENV4,"ENV4",3307,0,CG_VARYING_PARAM) | | RYING_PARAM) | |
| CG_BINDLOCATION_MACRO(Env5,CG_ENV5,"ENV5",3308,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env6,CG_ENV6,"ENV6",3309,0,CG_VARYING_PARAM) | | CG_BINDLOCATION_MACRO(SamplerResource,CG_SAMPLER_RES, "SAMPLER_RES", 3561, | |
| CG_BINDLOCATION_MACRO(Env7,CG_ENV7,"ENV7",3310,0,CG_VARYING_PARAM) | | 1, CGI_UNIFORM_PARAM) | |
| CG_BINDLOCATION_MACRO(Env8,CG_ENV8,"ENV8",3311,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env9,CG_ENV9,"ENV9",3312,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env10,CG_ENV10,"ENV10",3313,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env11,CG_ENV11,"ENV11",3314,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env12,CG_ENV12,"ENV12",3315,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env13,CG_ENV13,"ENV13",3316,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env14,CG_ENV14,"ENV14",3317,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env15,CG_ENV15,"ENV15",3318,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env16,CG_ENV16,"ENV16",3319,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env17,CG_ENV17,"ENV17",3320,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env18,CG_ENV18,"ENV18",3321,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env19,CG_ENV19,"ENV19",3322,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env20,CG_ENV20,"ENV20",3323,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env21,CG_ENV21,"ENV21",3324,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env22,CG_ENV22,"ENV22",3325,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env23,CG_ENV23,"ENV23",3326,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env24,CG_ENV24,"ENV24",3327,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env25,CG_ENV25,"ENV25",3328,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env26,CG_ENV26,"ENV26",3329,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env27,CG_ENV27,"ENV27",3330,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env28,CG_ENV28,"ENV28",3331,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env29,CG_ENV29,"ENV29",3332,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env30,CG_ENV30,"ENV30",3333,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env31,CG_ENV31,"ENV31",3334,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env32,CG_ENV32,"ENV32",3335,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env33,CG_ENV33,"ENV33",3336,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env34,CG_ENV34,"ENV34",3337,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env35,CG_ENV35,"ENV35",3338,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env36,CG_ENV36,"ENV36",3339,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env37,CG_ENV37,"ENV37",3340,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env38,CG_ENV38,"ENV38",3341,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env39,CG_ENV39,"ENV39",3342,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env40,CG_ENV40,"ENV40",3343,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env41,CG_ENV41,"ENV41",3344,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env42,CG_ENV42,"ENV42",3345,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env43,CG_ENV43,"ENV43",3346,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env44,CG_ENV44,"ENV44",3347,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env45,CG_ENV45,"ENV45",3348,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env46,CG_ENV46,"ENV46",3349,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env47,CG_ENV47,"ENV47",3350,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env48,CG_ENV48,"ENV48",3351,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env49,CG_ENV49,"ENV49",3352,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env50,CG_ENV50,"ENV50",3353,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env51,CG_ENV51,"ENV51",3354,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env52,CG_ENV52,"ENV52",3355,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env53,CG_ENV53,"ENV53",3356,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env54,CG_ENV54,"ENV54",3357,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env55,CG_ENV55,"ENV55",3358,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env56,CG_ENV56,"ENV56",3359,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env57,CG_ENV57,"ENV57",3360,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env58,CG_ENV58,"ENV58",3361,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env59,CG_ENV59,"ENV59",3362,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env60,CG_ENV60,"ENV60",3363,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env61,CG_ENV61,"ENV61",3364,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env62,CG_ENV62,"ENV62",3365,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env63,CG_ENV63,"ENV63",3366,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env64,CG_ENV64,"ENV64",3367,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env65,CG_ENV65,"ENV65",3368,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env66,CG_ENV66,"ENV66",3369,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env67,CG_ENV67,"ENV67",3370,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env68,CG_ENV68,"ENV68",3371,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env69,CG_ENV69,"ENV69",3372,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env70,CG_ENV70,"ENV70",3373,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env71,CG_ENV71,"ENV71",3374,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env72,CG_ENV72,"ENV72",3375,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env73,CG_ENV73,"ENV73",3376,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env74,CG_ENV74,"ENV74",3377,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env75,CG_ENV75,"ENV75",3378,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env76,CG_ENV76,"ENV76",3379,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env77,CG_ENV77,"ENV77",3380,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env78,CG_ENV78,"ENV78",3381,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env79,CG_ENV79,"ENV79",3382,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env80,CG_ENV80,"ENV80",3383,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env81,CG_ENV81,"ENV81",3384,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env82,CG_ENV82,"ENV82",3385,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env83,CG_ENV83,"ENV83",3386,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env84,CG_ENV84,"ENV84",3387,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env85,CG_ENV85,"ENV85",3388,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env86,CG_ENV86,"ENV86",3389,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env87,CG_ENV87,"ENV87",3390,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env88,CG_ENV88,"ENV88",3391,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env89,CG_ENV89,"ENV89",3392,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env90,CG_ENV90,"ENV90",3393,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env91,CG_ENV91,"ENV91",3394,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env92,CG_ENV92,"ENV92",3395,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env93,CG_ENV93,"ENV93",3396,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env94,CG_ENV94,"ENV94",3397,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env95,CG_ENV95,"ENV95",3398,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env96,CG_ENV96,"ENV96",3399,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env97,CG_ENV97,"ENV97",3400,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env98,CG_ENV98,"ENV98",3401,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env99,CG_ENV99,"ENV99",3402,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env100,CG_ENV100,"ENV100",3403,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env101,CG_ENV101,"ENV101",3404,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env102,CG_ENV102,"ENV102",3405,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env103,CG_ENV103,"ENV103",3406,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env104,CG_ENV104,"ENV104",3407,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env105,CG_ENV105,"ENV105",3408,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env106,CG_ENV106,"ENV106",3409,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env107,CG_ENV107,"ENV107",3410,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env108,CG_ENV108,"ENV108",3411,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env109,CG_ENV109,"ENV109",3412,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env110,CG_ENV110,"ENV110",3413,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env111,CG_ENV111,"ENV111",3414,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env112,CG_ENV112,"ENV112",3415,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env113,CG_ENV113,"ENV113",3416,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env114,CG_ENV114,"ENV114",3417,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env115,CG_ENV115,"ENV115",3418,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env116,CG_ENV116,"ENV116",3419,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env117,CG_ENV117,"ENV117",3420,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env118,CG_ENV118,"ENV118",3421,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env119,CG_ENV119,"ENV119",3422,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env120,CG_ENV120,"ENV120",3423,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env121,CG_ENV121,"ENV121",3424,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env122,CG_ENV122,"ENV122",3425,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env123,CG_ENV123,"ENV123",3426,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env124,CG_ENV124,"ENV124",3427,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env125,CG_ENV125,"ENV125",3428,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env126,CG_ENV126,"ENV126",3429,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env127,CG_ENV127,"ENV127",3430,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env128,CG_ENV128,"ENV128",3431,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env129,CG_ENV129,"ENV129",3432,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env130,CG_ENV130,"ENV130",3433,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env131,CG_ENV131,"ENV131",3434,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env132,CG_ENV132,"ENV132",3435,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env133,CG_ENV133,"ENV133",3436,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env134,CG_ENV134,"ENV134",3437,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env135,CG_ENV135,"ENV135",3438,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env136,CG_ENV136,"ENV136",3439,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env137,CG_ENV137,"ENV137",3440,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env138,CG_ENV138,"ENV138",3441,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env139,CG_ENV139,"ENV139",3442,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env140,CG_ENV140,"ENV140",3443,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env141,CG_ENV141,"ENV141",3444,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env142,CG_ENV142,"ENV142",3445,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env143,CG_ENV143,"ENV143",3446,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env144,CG_ENV144,"ENV144",3447,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env145,CG_ENV145,"ENV145",3448,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env146,CG_ENV146,"ENV146",3449,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env147,CG_ENV147,"ENV147",3450,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env148,CG_ENV148,"ENV148",3451,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env149,CG_ENV149,"ENV149",3452,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env150,CG_ENV150,"ENV150",3453,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env151,CG_ENV151,"ENV151",3454,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env152,CG_ENV152,"ENV152",3455,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env153,CG_ENV153,"ENV153",3456,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env154,CG_ENV154,"ENV154",3457,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env155,CG_ENV155,"ENV155",3458,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env156,CG_ENV156,"ENV156",3459,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env157,CG_ENV157,"ENV157",3460,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env158,CG_ENV158,"ENV158",3461,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env159,CG_ENV159,"ENV159",3462,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env160,CG_ENV160,"ENV160",3463,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env161,CG_ENV161,"ENV161",3464,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env162,CG_ENV162,"ENV162",3465,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env163,CG_ENV163,"ENV163",3466,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env164,CG_ENV164,"ENV164",3467,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env165,CG_ENV165,"ENV165",3468,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env166,CG_ENV166,"ENV166",3469,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env167,CG_ENV167,"ENV167",3470,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env168,CG_ENV168,"ENV168",3471,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env169,CG_ENV169,"ENV169",3472,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env170,CG_ENV170,"ENV170",3473,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env171,CG_ENV171,"ENV171",3474,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env172,CG_ENV172,"ENV172",3475,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env173,CG_ENV173,"ENV173",3476,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env174,CG_ENV174,"ENV174",3477,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env175,CG_ENV175,"ENV175",3478,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env176,CG_ENV176,"ENV176",3479,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env177,CG_ENV177,"ENV177",3480,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env178,CG_ENV178,"ENV178",3481,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env179,CG_ENV179,"ENV179",3482,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env180,CG_ENV180,"ENV180",3483,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env181,CG_ENV181,"ENV181",3484,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env182,CG_ENV182,"ENV182",3485,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env183,CG_ENV183,"ENV183",3486,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env184,CG_ENV184,"ENV184",3487,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env185,CG_ENV185,"ENV185",3488,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env186,CG_ENV186,"ENV186",3489,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env187,CG_ENV187,"ENV187",3490,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env188,CG_ENV188,"ENV188",3491,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env189,CG_ENV189,"ENV189",3492,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env190,CG_ENV190,"ENV190",3493,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env191,CG_ENV191,"ENV191",3494,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env192,CG_ENV192,"ENV192",3495,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env193,CG_ENV193,"ENV193",3496,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env194,CG_ENV194,"ENV194",3497,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env195,CG_ENV195,"ENV195",3498,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env196,CG_ENV196,"ENV196",3499,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env197,CG_ENV197,"ENV197",3500,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env198,CG_ENV198,"ENV198",3501,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env199,CG_ENV199,"ENV199",3502,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env200,CG_ENV200,"ENV200",3503,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env201,CG_ENV201,"ENV201",3504,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env202,CG_ENV202,"ENV202",3505,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env203,CG_ENV203,"ENV203",3506,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env204,CG_ENV204,"ENV204",3507,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env205,CG_ENV205,"ENV205",3508,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env206,CG_ENV206,"ENV206",3509,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env207,CG_ENV207,"ENV207",3510,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env208,CG_ENV208,"ENV208",3511,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env209,CG_ENV209,"ENV209",3512,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env210,CG_ENV210,"ENV210",3513,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env211,CG_ENV211,"ENV211",3514,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env212,CG_ENV212,"ENV212",3515,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env213,CG_ENV213,"ENV213",3516,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env214,CG_ENV214,"ENV214",3517,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env215,CG_ENV215,"ENV215",3518,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env216,CG_ENV216,"ENV216",3519,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env217,CG_ENV217,"ENV217",3520,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env218,CG_ENV218,"ENV218",3521,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env219,CG_ENV219,"ENV219",3522,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env220,CG_ENV220,"ENV220",3523,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env221,CG_ENV221,"ENV221",3524,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env222,CG_ENV222,"ENV222",3525,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env223,CG_ENV223,"ENV223",3526,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env224,CG_ENV224,"ENV224",3527,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env225,CG_ENV225,"ENV225",3528,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env226,CG_ENV226,"ENV226",3529,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env227,CG_ENV227,"ENV227",3530,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env228,CG_ENV228,"ENV228",3531,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env229,CG_ENV229,"ENV229",3532,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env230,CG_ENV230,"ENV230",3533,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env231,CG_ENV231,"ENV231",3534,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env232,CG_ENV232,"ENV232",3535,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env233,CG_ENV233,"ENV233",3536,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env234,CG_ENV234,"ENV234",3537,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env235,CG_ENV235,"ENV235",3538,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env236,CG_ENV236,"ENV236",3539,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env237,CG_ENV237,"ENV237",3540,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env238,CG_ENV238,"ENV238",3541,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env239,CG_ENV239,"ENV239",3542,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env240,CG_ENV240,"ENV240",3543,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env241,CG_ENV241,"ENV241",3544,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env242,CG_ENV242,"ENV242",3545,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env243,CG_ENV243,"ENV243",3546,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env244,CG_ENV244,"ENV244",3547,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env245,CG_ENV245,"ENV245",3548,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env246,CG_ENV246,"ENV246",3549,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env247,CG_ENV247,"ENV247",3550,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env248,CG_ENV248,"ENV248",3551,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env249,CG_ENV249,"ENV249",3552,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env250,CG_ENV250,"ENV250",3553,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env251,CG_ENV251,"ENV251",3554,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env252,CG_ENV252,"ENV252",3555,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env253,CG_ENV253,"ENV253",3556,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env254,CG_ENV254,"ENV254",3557,0,CG_VARYING_PARAM) | | | |
| CG_BINDLOCATION_MACRO(Env255,CG_ENV255,"ENV255",3558,0,CG_VARYING_PARAM) | | | |
| | | | |
| CG_BINDLOCATION_MACRO(LastColor0, CG_LASTCOL0, "LASTCOL0", 4400, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor0, CG_LASTCOL0, "LASTCOL0", 4400, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor1, CG_LASTCOL1, "LASTCOL1", 4401, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor1, CG_LASTCOL1, "LASTCOL1", 4401, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor2, CG_LASTCOL2, "LASTCOL2", 4402, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor2, CG_LASTCOL2, "LASTCOL2", 4402, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor3, CG_LASTCOL3, "LASTCOL3", 4403, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor3, CG_LASTCOL3, "LASTCOL3", 4403, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor4, CG_LASTCOL4, "LASTCOL4", 4404, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor4, CG_LASTCOL4, "LASTCOL4", 4404, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor5, CG_LASTCOL5, "LASTCOL5", 4405, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor5, CG_LASTCOL5, "LASTCOL5", 4405, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor6, CG_LASTCOL6, "LASTCOL6", 4406, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor6, CG_LASTCOL6, "LASTCOL6", 4406, 0, CG_VARY
ING_PARAM) | |
| CG_BINDLOCATION_MACRO(LastColor7, CG_LASTCOL7, "LASTCOL7", 4407, 0, CG_VARY
ING_PARAM) | | CG_BINDLOCATION_MACRO(LastColor7, CG_LASTCOL7, "LASTCOL7", 4407, 0, CG_VARY
ING_PARAM) | |
| | | | |
|
| | | CG_BINDLOCATION_MACRO(Face,CG_FACE,"FACE",4410,0,CG_VARYING_PARAM) | |
| | | CG_BINDLOCATION_MACRO(PrimitiveId,CG_PRIMITIVEID,"PRIMITIVEID",4411,0,CG_VA | |
| | | RYING_PARAM) | |
| | | CG_BINDLOCATION_MACRO(InstanceId,CG_INSTANCEID,"INSTANCEID",4412,0,CG_VARYI | |
| | | NG_PARAM) | |
| | | CG_BINDLOCATION_MACRO(SampleId,CG_SAMPLEID,"SAMPLEID",4413,0,CG_VARYING_PAR | |
| | | AM) | |
| | | CG_BINDLOCATION_MACRO(VertexId,CG_VERTEXID,"VERTEXID",4414,0,CG_VARYING_PAR | |
| | | AM) | |
| | | CG_BINDLOCATION_MACRO(Layer,CG_LAYER,"LAYER",4415,1,CG_VARYING_PARAM) | |
| | | CG_BINDLOCATION_MACRO(SampleMask,CG_SAMPLEMASK,"SAMPLEMASK",4416,0,CG_VARYI | |
| | | NG_PARAM) | |
| | | | |
| #undef CG_BINDLOCATION_MACRO | | #undef CG_BINDLOCATION_MACRO | |
| | | | |
End of changes. 4 change blocks. |
| 258 lines changed or deleted | | 48 lines changed or added | |
|