29 #ifndef CG_EXTERNAL___H
30 #define CG_EXTERNAL___H
479 typedef const char * (*PFNCGGETLASTLISTINGPROC)(
CGcontext ctx);
488 const char *program_file,
528 typedef const char * (*PFNCGGETRESOURCESTRINGPROC)(
CGresource resource);
530 typedef const char * (*PFNCGGETPROFILESTRINGPROC)(
CGprofile profile);
533 typedef const char * (*PFNCGGETERRORSTRINGPROC)(
CGerror error);
751 const float *matrices);
755 const float *matrices);
759 const double *matrices);
763 const double *matrices);
PFNCGGLGETPARAMETER4FPROC cgGLGetParameter4f
PFNCGCOPYPROGRAMPROC cgCopyProgram
PFNCGGLBINDPROGRAMPROC cgGLBindProgram
PFNCGGLSETPARAMETERARRAY1FPROC cgGLSetParameterArray1f
PFNCGGLSETPARAMETERPOINTERPROC cgGLSetParameterPointer
void(* PFNCGGLSETMATRIXPARAMETERARRAYFCPROC)(CGparameter param, long offset, long nelements, const float *matrices)
void(* PFNCGGLGETMATRIXPARAMETERFCPROC)(CGparameter param, float *matrix)
PFNCGGLSETPARAMETERARRAY1DPROC cgGLSetParameterArray1d
void(* PFNCGGLSETPARAMETERARRAY3DPROC)(CGparameter param, long offset, long nelements, const double *v)
void(* PFNCGGLGETPARAMETER4DPROC)(CGparameter param, double *v)
void(* PFNCGGLSETPARAMETERARRAY1DPROC)(CGparameter param, long offset, long nelements, const double *v)
PFNCGGETNEXTLEAFPARAMETERPROC cgGetNextLeafParameter
PFNCGGLGETPARAMETERARRAY4FPROC cgGLGetParameterArray4f
unsigned long(* PFNCGGETPARAMETERRESOURCEINDEXPROC)(CGparameter param)
void(* PFNCGGLBINDPROGRAMPROC)(CGprogram program)
void(* PFNCGGLSETMATRIXPARAMETERDCPROC)(CGparameter param, const double *matrix)
PFNCGGLGETPARAMETERARRAY1DPROC cgGLGetParameterArray1d
idVarDef def_string & type_string
void(* PFNCGGLGETPARAMETER4FPROC)(CGparameter param, float *v)
PFNCGGETPARAMETERRESOURCEPROC cgGetParameterResource
PFNCGGLGETPARAMETER4DPROC cgGLGetParameter4d
PFNCGGETPARAMETERVALUESPROC cgGetParameterValues
CGresource(* PFNCGGETPARAMETERRESOURCEPROC)(CGparameter param)
void(* PFNCGGLGETPARAMETERARRAY4FPROC)(CGparameter param, long offset, long nelements, float *v)
void(* PFNCGGLGETPARAMETER2DPROC)(CGparameter param, double *v)
PFNCGGETLASTLISTINGPROC cgGetLastListing
void(* PFNCGGLGETPARAMETERARRAY1DPROC)(CGparameter param, long offset, long nelements, double *v)
void(* PFNCGGLDISABLETEXTUREPARAMETERPROC)(CGparameter param)
void(* PFNCGCOMPILEPROGRAMPROC)(CGprogram program)
CGresource(* PFNCGGETRESOURCEPROC)(const char *resource_string)
GLenum(* PFNCGGLGETTEXTUREENUMPROC)(CGparameter param)
PFNCGGETRESOURCESTRINGPROC cgGetResourceString
int(* PFNCGGETARRAYSIZEPROC)(CGparameter param, int dimension)
void(* PFNCGGLSETPARAMETERPOINTERPROC)(CGparameter param, GLint fsize, GLenum type, GLsizei stride, GLvoid *pointer)
PFNCGGLGETLATESTPROFILEPROC cgGLGetLatestProfile
void(* PFNCGGLGETMATRIXPARAMETERDCPROC)(CGparameter param, double *matrix)
PFNCGGLSETPARAMETER2FPROC cgGLSetParameter2f
PFNCGGLGETPARAMETER3FPROC cgGLGetParameter3f
void(* PFNCGGLSETPARAMETER4FVPROC)(CGparameter param, const float *v)
void(* PFNCGGLSETPARAMETER3DPROC)(CGparameter param, double x, double y, double z)
PFNCGGLGETPARAMETERARRAY2DPROC cgGLGetParameterArray2d
void(* PFNCGGLSETPARAMETERARRAY4FPROC)(CGparameter param, long offset, long nelements, const float *v)
void(* PFNCGGLSETPARAMETER4DVPROC)(CGparameter param, const double *v)
PFNCGGLENABLEPROFILEPROC cgGLEnableProfile
PFNCGGETERRORCALLBACKPROC cgGetErrorCallback
void(* PFNCGGLSETMATRIXPARAMETERARRAYDRPROC)(CGparameter param, long offset, long nelements, const double *matrices)
void(* PFNCGGLLOADPROGRAMPROC)(CGprogram program)
CGparameter(* PFNCGGETNAMEDPARAMETERPROC)(CGprogram prog, const char *name)
PFNCGGETFIRSTPARAMETERPROC cgGetFirstParameter
PFNCGGLSETPARAMETERARRAY2DPROC cgGLSetParameterArray2d
PFNCGGLSETMATRIXPARAMETERDRPROC cgGLSetMatrixParameterdr
PFNCGGLGETPARAMETERARRAY2FPROC cgGLGetParameterArray2f
PFNCGGLGETPARAMETER2FPROC cgGLGetParameter2f
void(* PFNCGGLSETMATRIXPARAMETERDRPROC)(CGparameter param, const double *matrix)
PFNCGGETPROFILEPROC cgGetProfile
CGbool(* PFNCGISPROGRAMCOMPILEDPROC)(CGprogram program)
PFNCGISPARAMETERPROC cgIsParameter
PFNCGCREATECONTEXTPROC cgCreateContext
void(* PFNCGGLSETPARAMETER4FPROC)(CGparameter param, float x, float y, float z, float w)
PFNCGGETPARAMETERRESOURCEINDEXPROC cgGetParameterResourceIndex
void(* PFNCGGLGETMATRIXPARAMETERARRAYFCPROC)(CGparameter param, long offset, long nelements, float *matrices)
PFNCGGETFIRSTSTRUCTPARAMETERPROC cgGetFirstStructParameter
PFNCGGLGETPARAMETER1FPROC cgGLGetParameter1f
GLuint GLuint GLsizei GLenum type
PFNCGISPROGRAMCOMPILEDPROC cgIsProgramCompiled
PFNCGSETERRORCALLBACKPROC cgSetErrorCallback
PFNCGGETERRORSTRINGPROC cgGetErrorString
CGprogram(* PFNCGGETFIRSTPROGRAMPROC)(CGcontext ctx)
PFNCGGLLOADPROGRAMPROC cgGLLoadProgram
void(* PFNCGGLSETPARAMETER3FVPROC)(CGparameter param, const float *v)
CGprogram(* PFNCGCREATEPROGRAMPROC)(CGcontext ctx, CGenum program_type, const char *program, CGprofile profile, const char *entry, const char **args)
void(* PFNCGGLSETMATRIXPARAMETERFRPROC)(CGparameter param, const float *matrix)
void(* PFNCGGLSETPARAMETER2FVPROC)(CGparameter param, const float *v)
PFNCGGETPARAMETERTYPEPROC cgGetParameterType
void(* PFNCGGLSETPARAMETER2DPROC)(CGparameter param, double x, double y)
CGprogram(* PFNCGCOPYPROGRAMPROC)(CGprogram program)
const char *(* PFNCGGETTYPESTRINGPROC)(CGtype type)
void(* PFNCGGLGETMATRIXPARAMETERFRPROC)(CGparameter param, float *matrix)
PFNCGGLGETPARAMETERARRAY3DPROC cgGLGetParameterArray3d
CGprofile(* PFNCGGETPROGRAMPROFILEPROC)(CGprogram prog)
void(* PFNCGGLENABLECLIENTSTATEPROC)(CGparameter param)
void(* PFNCGGLSETOPTIMALOPTIONSPROC)(CGprofile profile)
PFNCGGLSETMATRIXPARAMETERARRAYDCPROC cgGLSetMatrixParameterArraydc
void(* PFNCGGLSETPARAMETER1FVPROC)(CGparameter param, const float *v)
CGbool(* PFNCGISPARAMETERPROC)(CGparameter param)
void(* PFNCGGLSETMATRIXPARAMETERARRAYFRPROC)(CGparameter param, long offset, long nelements, const float *matrices)
PFNCGGETTYPESTRINGPROC cgGetTypeString
PFNCGCREATEPROGRAMFROMFILEPROC cgCreateProgramFromFile
PFNCGGLGETPARAMETER3DPROC cgGLGetParameter3d
void(* PFNCGGETPARAMETERVALUESPROC)(CGparameter param, CGenum value_type, int *nvalues)
PFNCGGETPARAMETERBASERESOURCEPROC cgGetParameterBaseResource
PFNCGGLSETPARAMETER2DPROC cgGLSetParameter2d
PFNCGCOMPILEPROGRAMPROC cgCompileProgram
PFNCGISCONTEXTPROC cgIsContext
PFNCGDESTROYCONTEXTPROC cgDestroyContext
void(* PFNCGDESTROYCONTEXTPROC)(CGcontext ctx)
void(* PFNCGGLGETPARAMETERARRAY3DPROC)(CGparameter param, long offset, long nelements, double *v)
GLsizei const GLvoid * pointer
void(* PFNCGGLGETPARAMETERARRAY3FPROC)(CGparameter param, long offset, long nelements, float *v)
GLuint(* PFNCGGLGETTEXTUREPARAMETERPROC)(CGparameter param)
PFNCGGETRESOURCEPROC cgGetResource
PFNCGGETPARAMETERPROGRAMPROC cgGetParameterProgram
struct _CGcontext * CGcontext
PFNCGGLENABLETEXTUREPARAMETERPROC cgGLEnableTextureParameter
void(* PFNCGGLDISABLEPROFILEPROC)(CGprofile profile)
PFNCGGLSETMATRIXPARAMETERFRPROC cgGLSetMatrixParameterfr
GLubyte GLubyte GLubyte GLubyte w
PFNCGGLSETPARAMETERARRAY4FPROC cgGLSetParameterArray4f
void(* CGerrorCallbackFunc)(void)
CGcontext(* PFNCGGETPROGRAMCONTEXTPROC)(CGprogram prog)
void(* PFNCGGLGETMATRIXPARAMETERARRAYDCPROC)(CGparameter param, long offset, long nelements, double *matrices)
PFNCGGLGETPARAMETER2DPROC cgGLGetParameter2d
PFNCGGLSETPARAMETER1FPROC cgGLSetParameter1f
PFNCGGETTYPEPROC cgGetType
PFNCGGLSETPARAMETER2FVPROC cgGLSetParameter2fv
void(* PFNCGGLSETPARAMETER1FPROC)(CGparameter param, float x)
CGparameter(* PFNCGGETFIRSTLEAFPARAMETERPROC)(CGprogram prog, CGenum name_space)
PFNCGGLGETPARAMETERARRAY4DPROC cgGLGetParameterArray4d
PFNCGGLSETPARAMETERARRAY3DPROC cgGLSetParameterArray3d
PFNCGGLGETMATRIXPARAMETERDRPROC cgGLGetMatrixParameterdr
void(* PFNCGGLGETPARAMETERARRAY2FPROC)(CGparameter param, long offset, long nelements, float *v)
void(* PFNCGGLSETPARAMETER4DPROC)(CGparameter param, double x, double y, double z, double w)
PFNCGGETPARAMETERVARIABILITYPROC cgGetParameterVariability
void(* PFNCGGLSETPARAMETER1DPROC)(CGparameter param, double x)
PFNCGGETERRORPROC cgGetError
CGprogram(* PFNCGGETNEXTPROGRAMPROC)(CGprogram current)
PFNCGGETFIRSTDEPENDENTPARAMETERPROC cgGetFirstDependentParameter
void(* PFNCGGLGETPARAMETER2FPROC)(CGparameter param, float *v)
PFNCGGLENABLECLIENTSTATEPROC cgGLEnableClientState
PFNCGGLSETPARAMETER1FVPROC cgGLSetParameter1fv
PFNCGISPROGRAMPROC cgIsProgram
void(* PFNCGGLDISABLECLIENTSTATEPROC)(CGparameter param)
PFNCGGLSETMATRIXPARAMETERDCPROC cgGLSetMatrixParameterdc
PFNCGGLGETMATRIXPARAMETERARRAYFCPROC cgGLGetMatrixParameterArrayfc
void(* PFNCGGLGETPARAMETER3DPROC)(CGparameter param, double *v)
PFNCGGLSETPARAMETERARRAY3FPROC cgGLSetParameterArray3f
CGbool(* PFNCGISPROGRAMPROC)(CGprogram program)
void(* PFNCGGLGETPARAMETER1FPROC)(CGparameter param, float *v)
void(* PFNCGGLSETPARAMETERARRAY3FPROC)(CGparameter param, long offset, long nelements, const float *v)
void(* PFNCGGLGETPARAMETER1DPROC)(CGparameter param, double *v)
PFNCGGLSETPARAMETER4FVPROC cgGLSetParameter4fv
void(* PFNCGGLSETPARAMETERARRAY2DPROC)(CGparameter param, long offset, long nelements, const double *v)
void(* PFNCGGLENABLETEXTUREPARAMETERPROC)(CGparameter param)
void(* PFNCGGLGETMATRIXPARAMETERARRAYDRPROC)(CGparameter param, long offset, long nelements, double *matrices)
PFNCGGLDISABLETEXTUREPARAMETERPROC cgGLDisableTextureParameter
struct _CGparameter * CGparameter
PFNCGGLGETPARAMETERARRAY1FPROC cgGLGetParameterArray1f
PFNCGGLSETPARAMETER2DVPROC cgGLSetParameter2dv
PFNCGGLSETPARAMETER3DPROC cgGLSetParameter3d
CGbool(* PFNCGGLISPROFILESUPPORTEDPROC)(CGprofile profile)
CGparameter(* PFNCGGETFIRSTSTRUCTPARAMETERPROC)(CGparameter param)
void(* PFNCGGLSETPARAMETER3DVPROC)(CGparameter param, const double *v)
const char *(* PFNCGGETPARAMETERNAMEPROC)(CGparameter param)
CGprogram(* PFNCGCREATEPROGRAMFROMFILEPROC)(CGcontext ctx, CGenum program_type, const char *program_file, CGprofile profile, const char *entry, const char **args)
PFNCGGLSETPARAMETER3FPROC cgGLSetParameter3f
CGprogram(* PFNCGGETPARAMETERPROGRAMPROC)(CGparameter prog)
PFNCGGETFIRSTPROGRAMPROC cgGetFirstProgram
PFNCGGETPROGRAMPROFILEPROC cgGetProgramProfile
void(* PFNCGDESTROYPROGRAMPROC)(CGprogram program)
void(* PFNCGGLGETPARAMETER3FPROC)(CGparameter param, float *v)
void(* PFNCGGLSETSTATEMATRIXPARAMETERPROC)(CGparameter param, GLenum matrix, GLenum transform)
CGenum(* PFNCGGETPARAMETERVARIABILITYPROC)(CGparameter param)
PFNCGGLGETMATRIXPARAMETERARRAYFRPROC cgGLGetMatrixParameterArrayfr
CGparameter(* PFNCGGETARRAYPARAMETERPROC)(CGparameter aparam, int index)
PFNCGCREATEPROGRAMPROC cgCreateProgram
PFNCGGLSETMATRIXPARAMETERARRAYDRPROC cgGLSetMatrixParameterArraydr
CGparameter(* PFNCGGETFIRSTDEPENDENTPARAMETERPROC)(CGparameter param)
PFNCGGLSETTEXTUREPARAMETERPROC cgGLSetTextureParameter
CGprofile(* PFNCGGETPROFILEPROC)(const char *profile_string)
PFNCGGETARRAYDIMENSIONPROC cgGetArrayDimension
PFNCGGLISPROFILESUPPORTEDPROC cgGLIsProfileSupported
CGprofile(* PFNCGGLGETLATESTPROFILEPROC)(CGGLenum profile_type)
CGbool(* PFNCGISCONTEXTPROC)(CGcontext ctx)
void(* PFNCGGLSETPARAMETER3FPROC)(CGparameter param, float x, float y, float z)
void(* PFNCGSETERRORCALLBACKPROC)(CGerrorCallbackFunc func)
CGparameter(* PFNCGGETFIRSTPARAMETERPROC)(CGprogram prog, CGenum name_space)
CGerror(* PFNCGGETERRORPROC)(void)
CGresource(* PFNCGGETPARAMETERBASERESOURCEPROC)(CGparameter param)
PFNCGGLGETTEXTUREPARAMETERPROC cgGLGetTextureParameter
PFNCGGLGETPARAMETERARRAY3FPROC cgGLGetParameterArray3f
const char *(* PFNCGGETLASTLISTINGPROC)(CGcontext ctx)
PFNCGGETPROFILESTRINGPROC cgGetProfileString
CGenum(* PFNCGGETPARAMETERDIRECTIONPROC)(CGparameter param)
void(* PFNCGGLGETMATRIXPARAMETERDRPROC)(CGparameter param, double *matrix)
PFNCGGLSETMATRIXPARAMETERARRAYFCPROC cgGLSetMatrixParameterArrayfc
CGparameter(* PFNCGGETNEXTPARAMETERPROC)(CGparameter current)
struct _CGprogram * CGprogram
CGtype(* PFNCGGETTYPEPROC)(const char *type_string)
PFNCGGLGETMATRIXPARAMETERARRAYDRPROC cgGLGetMatrixParameterArraydr
CGtype(* PFNCGGETPARAMETERTYPEPROC)(CGparameter param)
PFNCGISPARAMETERREFERENCEDPROC cgIsParameterReferenced
const char *(* PFNCGGETRESOURCESTRINGPROC)(CGresource resource)
PFNCGGLSETMATRIXPARAMETERARRAYFRPROC cgGLSetMatrixParameterArrayfr
void(* PFNCGGLSETPARAMETERARRAY1FPROC)(CGparameter param, long offset, long nelements, const float *v)
PFNCGGLDISABLECLIENTSTATEPROC cgGLDisableClientState
PFNCGGLDISABLEPROFILEPROC cgGLDisableProfile
CGcontext(* PFNCGCREATECONTEXTPROC)(void)
PFNCGGETFIRSTLEAFPARAMETERPROC cgGetFirstLeafParameter
CGerrorCallbackFunc(* PFNCGGETERRORCALLBACKPROC)(void)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
PFNCGGETPROGRAMCONTEXTPROC cgGetProgramContext
PFNCGGLSETPARAMETER1DPROC cgGLSetParameter1d
PFNCGGETNEXTPROGRAMPROC cgGetNextProgram
PFNCGDESTROYPROGRAMPROC cgDestroyProgram
PFNCGGLSETPARAMETER3FVPROC cgGLSetParameter3fv
const char *(* PFNCGGETPROFILESTRINGPROC)(CGprofile profile)
void(* PFNCGGLSETPARAMETER1DVPROC)(CGparameter param, const double *v)
PFNCGGLGETPARAMETER1DPROC cgGLGetParameter1d
int(* PFNCGGETARRAYDIMENSIONPROC)(CGparameter param)
CGparameter(* PFNCGGETNEXTLEAFPARAMETERPROC)(CGparameter current)
void(* PFNCGGLSETTEXTUREPARAMETERPROC)(CGparameter param, GLuint texobj)
CGbool(* PFNCGISPARAMETERREFERENCEDPROC)(CGparameter param)
PFNCGGLSETPARAMETER4FPROC cgGLSetParameter4f
PFNCGGLGETMATRIXPARAMETERFCPROC cgGLGetMatrixParameterfc
const char *(* PFNCGGETPARAMETERSEMANTICPROC)(CGparameter param)
const char *(* PFNCGGETPROGRAMSTRINGPROC)(CGprogram prog, CGenum pname)
PFNCGGLSETPARAMETER4DPROC cgGLSetParameter4d
PFNCGGETNEXTPARAMETERPROC cgGetNextParameter
GLuint GLenum GLenum transform
PFNCGGLSETOPTIMALOPTIONSPROC cgGLSetOptimalOptions
void(* PFNCGGLSETPARAMETER2DVPROC)(CGparameter param, const double *v)
void(* PFNCGGLSETMATRIXPARAMETERFCPROC)(CGparameter param, const float *matrix)
void(* PFNCGGLGETPARAMETERARRAY1FPROC)(CGparameter param, long offset, long nelements, float *v)
PFNCGGLSETSTATEMATRIXPARAMETERPROC cgGLSetStateMatrixParameter
PFNCGGLSETPARAMETER3DVPROC cgGLSetParameter3dv
PFNCGGETNAMEDPARAMETERPROC cgGetNamedParameter
PFNCGGETARRAYSIZEPROC cgGetArraySize
void(* PFNCGGLSETMATRIXPARAMETERARRAYDCPROC)(CGparameter param, long offset, long nelements, const double *matrices)
PFNCGGETARRAYPARAMETERPROC cgGetArrayParameter
void(* PFNCGGLSETPARAMETERARRAY2FPROC)(CGparameter param, long offset, long nelements, const float *v)
const char *(* PFNCGGETERRORSTRINGPROC)(CGerror error)
void(* PFNCGGLGETPARAMETERARRAY4DPROC)(CGparameter param, long offset, long nelements, double *v)
PFNCGGLGETMATRIXPARAMETERARRAYDCPROC cgGLGetMatrixParameterArraydc
typedef GLuint(APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC)(GLsizei range)
PFNCGGLGETMATRIXPARAMETERFRPROC cgGLGetMatrixParameterfr
PFNCGGLGETTEXTUREENUMPROC cgGLGetTextureEnum
void(* PFNCGGLSETPARAMETERARRAY4DPROC)(CGparameter param, long offset, long nelements, const double *v)
PFNCGGLSETMATRIXPARAMETERFCPROC cgGLSetMatrixParameterfc
void(* PFNCGGLSETPARAMETER2FPROC)(CGparameter param, float x, float y)
PFNCGGLGETMATRIXPARAMETERDCPROC cgGLGetMatrixParameterdc
PFNCGGETPARAMETERDIRECTIONPROC cgGetParameterDirection
PFNCGGETPARAMETERSEMANTICPROC cgGetParameterSemantic
PFNCGGETPARAMETERNAMEPROC cgGetParameterName
PFNCGGLSETPARAMETER4DVPROC cgGLSetParameter4dv
PFNCGGETPROGRAMSTRINGPROC cgGetProgramString
PFNCGGLSETPARAMETERARRAY4DPROC cgGLSetParameterArray4d
void(* PFNCGGLENABLEPROFILEPROC)(CGprofile profile)
PFNCGGLSETPARAMETER1DVPROC cgGLSetParameter1dv
void(* PFNCGGLGETPARAMETERARRAY2DPROC)(CGparameter param, long offset, long nelements, double *v)
void(* PFNCGGLGETMATRIXPARAMETERARRAYFRPROC)(CGparameter param, long offset, long nelements, float *matrices)
PFNCGGLSETPARAMETERARRAY2FPROC cgGLSetParameterArray2f