doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cg_explicit.cpp
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 
29 #include "../idlib/precompiled.h"
30 #pragma hdrstop
31 
32 //#include <windows.h>
33 //#include <GL/gl.h>
34 #include "cg_explicit.h"
35 
156 
157 #ifndef _WIN32
159 {
160  return false;
161 }
162 #else
163 bool init_explicit_Cg()
164 {
165  HMODULE hmod;
166  int failed = 0;
167 
168  hmod = LoadLibrary("cg.dll");
169 
170  if(0 == (cgCreateContext = (PFNCGCREATECONTEXTPROC)GetProcAddress( hmod, "cgCreateContext" )))
171  failed++;
172  if(0 == (cgDestroyContext = (PFNCGDESTROYCONTEXTPROC)GetProcAddress( hmod, "cgDestroyContext" )))
173  failed++;
174  if(0 == (cgIsContext = (PFNCGISCONTEXTPROC)GetProcAddress( hmod, "cgIsContext" )))
175  failed++;
176  if(0 == (cgGetLastListing = (PFNCGGETLASTLISTINGPROC)GetProcAddress( hmod, "cgGetLastListing" )))
177  failed++;
178  if(0 == (cgCreateProgram = (PFNCGCREATEPROGRAMPROC)GetProcAddress( hmod, "cgCreateProgram" )))
179  failed++;
180  if(0 == (cgCreateProgramFromFile = (PFNCGCREATEPROGRAMFROMFILEPROC)GetProcAddress( hmod, "cgCreateProgramFromFile" )))
181  failed++;
182  if(0 == (cgCopyProgram = (PFNCGCOPYPROGRAMPROC)GetProcAddress( hmod, "cgCopyProgram" )))
183  failed++;
184  if(0 == (cgDestroyProgram = (PFNCGDESTROYPROGRAMPROC)GetProcAddress( hmod, "cgDestroyProgram" )))
185  failed++;
186  if(0 == (cgGetFirstProgram = (PFNCGGETFIRSTPROGRAMPROC)GetProcAddress( hmod, "cgGetFirstProgram" )))
187  failed++;
188  if(0 == (cgGetNextProgram = (PFNCGGETNEXTPROGRAMPROC)GetProcAddress( hmod, "cgGetNextProgram" )))
189  failed++;
190  if(0 == (cgGetProgramContext = (PFNCGGETPROGRAMCONTEXTPROC)GetProcAddress( hmod, "cgGetProgramContext" )))
191  failed++;
192  if(0 == (cgIsProgram = (PFNCGISPROGRAMPROC)GetProcAddress( hmod, "cgIsProgram" )))
193  failed++;
194  if(0 == (cgCompileProgram = (PFNCGCOMPILEPROGRAMPROC)GetProcAddress( hmod, "cgCompileProgram" )))
195  failed++;
196  if(0 == (cgIsProgramCompiled = (PFNCGISPROGRAMCOMPILEDPROC)GetProcAddress( hmod, "cgIsProgramCompiled" )))
197  failed++;
198  if(0 == (cgGetProgramString = (PFNCGGETPROGRAMSTRINGPROC)GetProcAddress( hmod, "cgGetProgramString" )))
199  failed++;
200  if(0 == (cgGetProgramProfile = (PFNCGGETPROGRAMPROFILEPROC)GetProcAddress( hmod, "cgGetProgramProfile" )))
201  failed++;
202  if(0 == (cgGetNamedParameter = (PFNCGGETNAMEDPARAMETERPROC)GetProcAddress( hmod, "cgGetNamedParameter" )))
203  failed++;
204  if(0 == (cgGetFirstParameter = (PFNCGGETFIRSTPARAMETERPROC)GetProcAddress( hmod, "cgGetFirstParameter" )))
205  failed++;
206  if(0 == (cgGetNextParameter = (PFNCGGETNEXTPARAMETERPROC)GetProcAddress( hmod, "cgGetNextParameter" )))
207  failed++;
208  if(0 == (cgGetFirstLeafParameter = (PFNCGGETFIRSTLEAFPARAMETERPROC)GetProcAddress( hmod, "cgGetFirstLeafParameter" )))
209  failed++;
210  if(0 == (cgGetNextLeafParameter = (PFNCGGETNEXTLEAFPARAMETERPROC)GetProcAddress( hmod, "cgGetNextLeafParameter" )))
211  failed++;
212  if(0 == (cgGetFirstStructParameter = (PFNCGGETFIRSTSTRUCTPARAMETERPROC)GetProcAddress( hmod, "cgGetFirstStructParameter" )))
213  failed++;
214  if(0 == (cgGetFirstDependentParameter = (PFNCGGETFIRSTDEPENDENTPARAMETERPROC)GetProcAddress( hmod, "cgGetFirstDependentParameter" )))
215  failed++;
216  if(0 == (cgGetArrayParameter = (PFNCGGETARRAYPARAMETERPROC)GetProcAddress( hmod, "cgGetArrayParameter" )))
217  failed++;
218  if(0 == (cgGetArrayDimension = (PFNCGGETARRAYDIMENSIONPROC)GetProcAddress( hmod, "cgGetArrayDimension" )))
219  failed++;
220  if(0 == (cgGetArraySize = (PFNCGGETARRAYSIZEPROC)GetProcAddress( hmod, "cgGetArraySize" )))
221  failed++;
222  if(0 == (cgGetParameterProgram = (PFNCGGETPARAMETERPROGRAMPROC)GetProcAddress( hmod, "cgGetParameterProgram" )))
223  failed++;
224  if(0 == (cgIsParameter = (PFNCGISPARAMETERPROC)GetProcAddress( hmod, "cgIsParameter" )))
225  failed++;
226  if(0 == (cgGetParameterName = (PFNCGGETPARAMETERNAMEPROC)GetProcAddress( hmod, "cgGetParameterName" )))
227  failed++;
228  if(0 == (cgGetParameterType = (PFNCGGETPARAMETERTYPEPROC)GetProcAddress( hmod, "cgGetParameterType" )))
229  failed++;
230  if(0 == (cgGetParameterSemantic = (PFNCGGETPARAMETERSEMANTICPROC)GetProcAddress( hmod, "cgGetParameterSemantic" )))
231  failed++;
232  if(0 == (cgGetParameterResource = (PFNCGGETPARAMETERRESOURCEPROC)GetProcAddress( hmod, "cgGetParameterResource" )))
233  failed++;
234  if(0 == (cgGetParameterBaseResource = (PFNCGGETPARAMETERBASERESOURCEPROC)GetProcAddress( hmod, "cgGetParameterBaseResource" )))
235  failed++;
236  if(0 == (cgGetParameterResourceIndex = (PFNCGGETPARAMETERRESOURCEINDEXPROC)GetProcAddress( hmod, "cgGetParameterResourceIndex" )))
237  failed++;
238  if(0 == (cgGetParameterVariability = (PFNCGGETPARAMETERVARIABILITYPROC)GetProcAddress( hmod, "cgGetParameterVariability" )))
239  failed++;
240  if(0 == (cgGetParameterDirection = (PFNCGGETPARAMETERDIRECTIONPROC)GetProcAddress( hmod, "cgGetParameterDirection" )))
241  failed++;
242  if(0 == (cgIsParameterReferenced = (PFNCGISPARAMETERREFERENCEDPROC)GetProcAddress( hmod, "cgIsParameterReferenced" )))
243  failed++;
244  if(0 == (cgGetParameterValues = (PFNCGGETPARAMETERVALUESPROC)GetProcAddress( hmod, "cgGetParameterValues" )))
245  failed++;
246  if(0 == (cgGetTypeString = (PFNCGGETTYPESTRINGPROC)GetProcAddress( hmod, "cgGetTypeString" )))
247  failed++;
248  if(0 == (cgGetType = (PFNCGGETTYPEPROC)GetProcAddress( hmod, "cgGetType" )))
249  failed++;
250  if(0 == (cgGetResourceString = (PFNCGGETRESOURCESTRINGPROC)GetProcAddress( hmod, "cgGetResourceString" )))
251  failed++;
252  if(0 == (cgGetResource = (PFNCGGETRESOURCEPROC)GetProcAddress( hmod, "cgGetResource" )))
253  failed++;
254  if(0 == (cgGetProfileString = (PFNCGGETPROFILESTRINGPROC)GetProcAddress( hmod, "cgGetProfileString" )))
255  failed++;
256  if(0 == (cgGetProfile = (PFNCGGETPROFILEPROC)GetProcAddress( hmod, "cgGetProfile" )))
257  failed++;
258  if(0 == (cgGetError = (PFNCGGETERRORPROC)GetProcAddress( hmod, "cgGetError" )))
259  failed++;
260  if(0 == (cgGetErrorString = (PFNCGGETERRORSTRINGPROC)GetProcAddress( hmod, "cgGetErrorString" )))
261  failed++;
262  if(0 == (cgSetErrorCallback = (PFNCGSETERRORCALLBACKPROC)GetProcAddress( hmod, "cgSetErrorCallback" )))
263  failed++;
264  if(0 == (cgGetErrorCallback = (PFNCGGETERRORCALLBACKPROC)GetProcAddress( hmod, "cgGetErrorCallback" )))
265  failed++;
266 
267 
268 
269  hmod = LoadLibrary("cgGL.dll");
270 
271 
272 
273  if(0 == (cgGLIsProfileSupported = (PFNCGGLISPROFILESUPPORTEDPROC)GetProcAddress( hmod, "cgGLIsProfileSupported" )))
274  failed++;
275  if(0 == (cgGLEnableProfile = (PFNCGGLENABLEPROFILEPROC)GetProcAddress( hmod, "cgGLEnableProfile" )))
276  failed++;
277  if(0 == (cgGLDisableProfile = (PFNCGGLDISABLEPROFILEPROC)GetProcAddress( hmod, "cgGLDisableProfile" )))
278  failed++;
279  if(0 == (cgGLGetLatestProfile = (PFNCGGLGETLATESTPROFILEPROC)GetProcAddress( hmod, "cgGLGetLatestProfile" )))
280  failed++;
281  if(0 == (cgGLSetOptimalOptions = (PFNCGGLSETOPTIMALOPTIONSPROC)GetProcAddress( hmod, "cgGLSetOptimalOptions" )))
282  failed++;
283  if(0 == (cgGLLoadProgram = (PFNCGGLLOADPROGRAMPROC)GetProcAddress( hmod, "cgGLLoadProgram" )))
284  failed++;
285  if(0 == (cgGLBindProgram = (PFNCGGLBINDPROGRAMPROC)GetProcAddress( hmod, "cgGLBindProgram" )))
286  failed++;
287  if(0 == (cgGLSetParameter1f = (PFNCGGLSETPARAMETER1FPROC)GetProcAddress( hmod, "cgGLSetParameter1f" )))
288  failed++;
289  if(0 == (cgGLSetParameter2f = (PFNCGGLSETPARAMETER2FPROC)GetProcAddress( hmod, "cgGLSetParameter2f" )))
290  failed++;
291  if(0 == (cgGLSetParameter3f = (PFNCGGLSETPARAMETER3FPROC)GetProcAddress( hmod, "cgGLSetParameter3f" )))
292  failed++;
293  if(0 == (cgGLSetParameter4f = (PFNCGGLSETPARAMETER4FPROC)GetProcAddress( hmod, "cgGLSetParameter4f" )))
294  failed++;
295  if(0 == (cgGLSetParameter1fv = (PFNCGGLSETPARAMETER1FVPROC)GetProcAddress( hmod, "cgGLSetParameter1fv" )))
296  failed++;
297  if(0 == (cgGLSetParameter2fv = (PFNCGGLSETPARAMETER2FVPROC)GetProcAddress( hmod, "cgGLSetParameter2fv" )))
298  failed++;
299  if(0 == (cgGLSetParameter3fv = (PFNCGGLSETPARAMETER3FVPROC)GetProcAddress( hmod, "cgGLSetParameter3fv" )))
300  failed++;
301  if(0 == (cgGLSetParameter4fv = (PFNCGGLSETPARAMETER4FVPROC)GetProcAddress( hmod, "cgGLSetParameter4fv" )))
302  failed++;
303  if(0 == (cgGLSetParameter1d = (PFNCGGLSETPARAMETER1DPROC)GetProcAddress( hmod, "cgGLSetParameter1d" )))
304  failed++;
305  if(0 == (cgGLSetParameter2d = (PFNCGGLSETPARAMETER2DPROC)GetProcAddress( hmod, "cgGLSetParameter2d" )))
306  failed++;
307  if(0 == (cgGLSetParameter3d = (PFNCGGLSETPARAMETER3DPROC)GetProcAddress( hmod, "cgGLSetParameter3d" )))
308  failed++;
309  if(0 == (cgGLSetParameter4d = (PFNCGGLSETPARAMETER4DPROC)GetProcAddress( hmod, "cgGLSetParameter4d" )))
310  failed++;
311  if(0 == (cgGLSetParameter1dv = (PFNCGGLSETPARAMETER1DVPROC)GetProcAddress( hmod, "cgGLSetParameter1dv" )))
312  failed++;
313  if(0 == (cgGLSetParameter2dv = (PFNCGGLSETPARAMETER2DVPROC)GetProcAddress( hmod, "cgGLSetParameter2dv" )))
314  failed++;
315  if(0 == (cgGLSetParameter3dv = (PFNCGGLSETPARAMETER3DVPROC)GetProcAddress( hmod, "cgGLSetParameter3dv" )))
316  failed++;
317  if(0 == (cgGLSetParameter4dv = (PFNCGGLSETPARAMETER4DVPROC)GetProcAddress( hmod, "cgGLSetParameter4dv" )))
318  failed++;
319  if(0 == (cgGLSetParameter4dv = (PFNCGGLSETPARAMETER4DVPROC)GetProcAddress( hmod, "cgGLSetParameter4dv" )))
320  failed++;
321  if(0 == (cgGLGetParameter1f = (PFNCGGLGETPARAMETER1FPROC)GetProcAddress( hmod, "cgGLGetParameter1f" )))
322  failed++;
323  if(0 == (cgGLGetParameter2f = (PFNCGGLGETPARAMETER2FPROC)GetProcAddress( hmod, "cgGLGetParameter2f" )))
324  failed++;
325  if(0 == (cgGLGetParameter3f = (PFNCGGLGETPARAMETER3FPROC)GetProcAddress( hmod, "cgGLGetParameter3f" )))
326  failed++;
327  if(0 == (cgGLGetParameter4f = (PFNCGGLGETPARAMETER4FPROC)GetProcAddress( hmod, "cgGLGetParameter4f" )))
328  failed++;
329  if(0 == (cgGLGetParameter1d = (PFNCGGLGETPARAMETER1DPROC)GetProcAddress( hmod, "cgGLGetParameter1d" )))
330  failed++;
331  if(0 == (cgGLGetParameter2d = (PFNCGGLGETPARAMETER2DPROC)GetProcAddress( hmod, "cgGLGetParameter2d" )))
332  failed++;
333  if(0 == (cgGLGetParameter3d = (PFNCGGLGETPARAMETER3DPROC)GetProcAddress( hmod, "cgGLGetParameter3d" )))
334  failed++;
335  if(0 == (cgGLGetParameter4d = (PFNCGGLGETPARAMETER4DPROC)GetProcAddress( hmod, "cgGLGetParameter4d" )))
336  failed++;
337  if(0 == (cgGLSetParameterArray1f = (PFNCGGLSETPARAMETERARRAY1FPROC)GetProcAddress( hmod, "cgGLSetParameterArray1f" )))
338  failed++;
339  if(0 == (cgGLSetParameterArray2f = (PFNCGGLSETPARAMETERARRAY2FPROC)GetProcAddress( hmod, "cgGLSetParameterArray2f" )))
340  failed++;
341  if(0 == (cgGLSetParameterArray3f = (PFNCGGLSETPARAMETERARRAY3FPROC)GetProcAddress( hmod, "cgGLSetParameterArray3f" )))
342  failed++;
343  if(0 == (cgGLSetParameterArray4f = (PFNCGGLSETPARAMETERARRAY4FPROC)GetProcAddress( hmod, "cgGLSetParameterArray4f" )))
344  failed++;
345  if(0 == (cgGLSetParameterArray1d = (PFNCGGLSETPARAMETERARRAY1DPROC)GetProcAddress( hmod, "cgGLSetParameterArray1d" )))
346  failed++;
347  if(0 == (cgGLSetParameterArray2d = (PFNCGGLSETPARAMETERARRAY2DPROC)GetProcAddress( hmod, "cgGLSetParameterArray2d" )))
348  failed++;
349  if(0 == (cgGLSetParameterArray3d = (PFNCGGLSETPARAMETERARRAY3DPROC)GetProcAddress( hmod, "cgGLSetParameterArray3d" )))
350  failed++;
351  if(0 == (cgGLSetParameterArray4d = (PFNCGGLSETPARAMETERARRAY4DPROC)GetProcAddress( hmod, "cgGLSetParameterArray4d" )))
352  failed++;
353  if(0 == (cgGLGetParameterArray1f = (PFNCGGLGETPARAMETERARRAY1FPROC)GetProcAddress( hmod, "cgGLGetParameterArray1f" )))
354  failed++;
355  if(0 == (cgGLGetParameterArray2f = (PFNCGGLGETPARAMETERARRAY2FPROC)GetProcAddress( hmod, "cgGLGetParameterArray2f" )))
356  failed++;
357  if(0 == (cgGLGetParameterArray3f = (PFNCGGLGETPARAMETERARRAY3FPROC)GetProcAddress( hmod, "cgGLGetParameterArray3f" )))
358  failed++;
359  if(0 == (cgGLGetParameterArray4f = (PFNCGGLGETPARAMETERARRAY4FPROC)GetProcAddress( hmod, "cgGLGetParameterArray4f" )))
360  failed++;
361  if(0 == (cgGLGetParameterArray1d = (PFNCGGLGETPARAMETERARRAY1DPROC)GetProcAddress( hmod, "cgGLGetParameterArray1d" )))
362  failed++;
363  if(0 == (cgGLGetParameterArray2d = (PFNCGGLGETPARAMETERARRAY2DPROC)GetProcAddress( hmod, "cgGLGetParameterArray2d" )))
364  failed++;
365  if(0 == (cgGLGetParameterArray3d = (PFNCGGLGETPARAMETERARRAY3DPROC)GetProcAddress( hmod, "cgGLGetParameterArray3d" )))
366  failed++;
367  if(0 == (cgGLGetParameterArray4d = (PFNCGGLGETPARAMETERARRAY4DPROC)GetProcAddress( hmod, "cgGLGetParameterArray4d" )))
368  failed++;
369  if(0 == (cgGLSetParameterPointer = (PFNCGGLSETPARAMETERPOINTERPROC)GetProcAddress( hmod, "cgGLSetParameterPointer" )))
370  failed++;
371  if(0 == (cgGLEnableClientState = (PFNCGGLENABLECLIENTSTATEPROC)GetProcAddress( hmod, "cgGLEnableClientState" )))
372  failed++;
373  if(0 == (cgGLDisableClientState = (PFNCGGLDISABLECLIENTSTATEPROC)GetProcAddress( hmod, "cgGLDisableClientState" )))
374  failed++;
375  if(0 == (cgGLSetMatrixParameterdr = (PFNCGGLSETMATRIXPARAMETERDRPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterdr" )))
376  failed++;
377  if(0 == (cgGLSetMatrixParameterfr = (PFNCGGLSETMATRIXPARAMETERFRPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterfr" )))
378  failed++;
379  if(0 == (cgGLSetMatrixParameterdc = (PFNCGGLSETMATRIXPARAMETERDCPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterdc" )))
380  failed++;
381  if(0 == (cgGLSetMatrixParameterfc = (PFNCGGLSETMATRIXPARAMETERFCPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterfc" )))
382  failed++;
383  if(0 == (cgGLGetMatrixParameterdr = (PFNCGGLGETMATRIXPARAMETERDRPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterdr" )))
384  failed++;
385  if(0 == (cgGLGetMatrixParameterfr = (PFNCGGLGETMATRIXPARAMETERFRPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterfr" )))
386  failed++;
387  if(0 == (cgGLGetMatrixParameterdc = (PFNCGGLGETMATRIXPARAMETERDCPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterdc" )))
388  failed++;
389  if(0 == (cgGLGetMatrixParameterfc = (PFNCGGLGETMATRIXPARAMETERFCPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterfc" )))
390  failed++;
391  if(0 == (cgGLSetStateMatrixParameter = (PFNCGGLSETSTATEMATRIXPARAMETERPROC)GetProcAddress( hmod, "cgGLSetStateMatrixParameter" )))
392  failed++;
393  //if(0 == (cgGLSetMatrixParameterArrayfc = (PFNCGGLSETMATRIXPARAMETERARRAYFCPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterArrayfc" )))
394  // failed++;
395  //if(0 == (cgGLSetMatrixParameterArrayfr = (PFNCGGLSETMATRIXPARAMETERARRAYFRPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterArrayfr" )))
396  // failed++;
397  //if(0 == (cgGLSetMatrixParameterArraydc = (PFNCGGLSETMATRIXPARAMETERARRAYDCPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterArraydc" )))
398  // failed++;
399  //if(0 == (cgGLSetMatrixParameterArraydr = (PFNCGGLSETMATRIXPARAMETERARRAYDRPROC)GetProcAddress( hmod, "cgGLSetMatrixParameterArraydr" )))
400  // failed++;
401  //if(0 == (cgGLGetMatrixParameterArrayfc = (PFNCGGLGETMATRIXPARAMETERARRAYFCPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterArrayfc" )))
402  // failed++;
403  //if(0 == (cgGLGetMatrixParameterArrayfr = (PFNCGGLGETMATRIXPARAMETERARRAYFRPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterArrayfr" )))
404  // failed++;
405  //if(0 == (cgGLGetMatrixParameterArraydc = (PFNCGGLGETMATRIXPARAMETERARRAYDCPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterArraydc" )))
406  // failed++;
407  //if(0 == (cgGLGetMatrixParameterArraydr = (PFNCGGLGETMATRIXPARAMETERARRAYDRPROC)GetProcAddress( hmod, "cgGLGetMatrixParameterArraydr" )))
408  // failed++;
409  if(0 == (cgGLSetTextureParameter = (PFNCGGLSETTEXTUREPARAMETERPROC)GetProcAddress( hmod, "cgGLSetTextureParameter" )))
410  failed++;
411  if(0 == (cgGLGetTextureParameter = (PFNCGGLGETTEXTUREPARAMETERPROC)GetProcAddress( hmod, "cgGLGetTextureParameter" )))
412  failed++;
413  if(0 == (cgGLEnableTextureParameter = (PFNCGGLENABLETEXTUREPARAMETERPROC)GetProcAddress( hmod, "cgGLEnableTextureParameter" )))
414  failed++;
415  if(0 == (cgGLDisableTextureParameter = (PFNCGGLDISABLETEXTUREPARAMETERPROC)GetProcAddress( hmod, "cgGLDisableTextureParameter" )))
416  failed++;
417  if(0 == (cgGLGetTextureEnum = (PFNCGGLGETTEXTUREENUMPROC)GetProcAddress( hmod, "cgGLGetTextureEnum" )))
418  failed++;
419 
420  return failed == 0;
421 
422 }
423 #endif
PFNCGGLSETOPTIMALOPTIONSPROC cgGLSetOptimalOptions
Definition: cg_explicit.cpp:88
PFNCGISCONTEXTPROC cgIsContext
Definition: cg_explicit.cpp:38
PFNCGCREATEPROGRAMPROC cgCreateProgram
Definition: cg_explicit.cpp:40
void(* PFNCGGLSETMATRIXPARAMETERARRAYFCPROC)(CGparameter param, long offset, long nelements, const float *matrices)
Definition: cg_explicit.h:748
void(* PFNCGGLGETMATRIXPARAMETERFCPROC)(CGparameter param, float *matrix)
Definition: cg_explicit.h:744
void(* PFNCGGLSETPARAMETERARRAY3DPROC)(CGparameter param, long offset, long nelements, const double *v)
Definition: cg_explicit.h:690
void(* PFNCGGLGETPARAMETER4DPROC)(CGparameter param, double *v)
Definition: cg_explicit.h:665
void(* PFNCGGLSETPARAMETERARRAY1DPROC)(CGparameter param, long offset, long nelements, const double *v)
Definition: cg_explicit.h:682
PFNCGGLSETPARAMETERARRAY2DPROC cgGLSetParameterArray2d
PFNCGGLGETMATRIXPARAMETERFCPROC cgGLGetMatrixParameterfc
unsigned long(* PFNCGGETPARAMETERRESOURCEINDEXPROC)(CGparameter param)
Definition: cg_explicit.h:519
void(* PFNCGGLBINDPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:620
void(* PFNCGGLSETMATRIXPARAMETERDCPROC)(CGparameter param, const double *matrix)
Definition: cg_explicit.h:739
void(* PFNCGGLGETPARAMETER4FPROC)(CGparameter param, float *v)
Definition: cg_explicit.h:661
PFNCGGLSETPARAMETER1DPROC cgGLSetParameter1d
Definition: cg_explicit.cpp:99
CGresource(* PFNCGGETPARAMETERRESOURCEPROC)(CGparameter param)
Definition: cg_explicit.h:517
void(* PFNCGGLGETPARAMETERARRAY4FPROC)(CGparameter param, long offset, long nelements, float *v)
Definition: cg_explicit.h:710
PFNCGGLSETMATRIXPARAMETERFRPROC cgGLSetMatrixParameterfr
void(* PFNCGGLGETPARAMETER2DPROC)(CGparameter param, double *v)
Definition: cg_explicit.h:663
PFNCGGLGETPARAMETERARRAY4FPROC cgGLGetParameterArray4f
PFNCGGETTYPESTRINGPROC cgGetTypeString
Definition: cg_explicit.cpp:74
void(* PFNCGGLGETPARAMETERARRAY1DPROC)(CGparameter param, long offset, long nelements, double *v)
Definition: cg_explicit.h:714
PFNCGGLGETLATESTPROFILEPROC cgGLGetLatestProfile
Definition: cg_explicit.cpp:87
PFNCGGLGETMATRIXPARAMETERDRPROC cgGLGetMatrixParameterdr
void(* PFNCGGLDISABLETEXTUREPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:783
PFNCGGETTYPEPROC cgGetType
Definition: cg_explicit.cpp:75
void(* PFNCGCOMPILEPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:498
PFNCGGETPROFILESTRINGPROC cgGetProfileString
Definition: cg_explicit.cpp:78
CGresource(* PFNCGGETRESOURCEPROC)(const char *resource_string)
Definition: cg_explicit.h:529
GLenum(* PFNCGGLGETTEXTUREENUMPROC)(CGparameter param)
Definition: cg_explicit.h:784
PFNCGGETPARAMETERDIRECTIONPROC cgGetParameterDirection
Definition: cg_explicit.cpp:71
int(* PFNCGGETARRAYSIZEPROC)(CGparameter param, int dimension)
Definition: cg_explicit.h:511
PFNCGGETRESOURCESTRINGPROC cgGetResourceString
Definition: cg_explicit.cpp:76
void(* PFNCGGLSETPARAMETERPOINTERPROC)(CGparameter param, GLint fsize, GLenum type, GLsizei stride, GLvoid *pointer)
Definition: cg_explicit.h:730
void(* PFNCGGLGETMATRIXPARAMETERDCPROC)(CGparameter param, double *matrix)
Definition: cg_explicit.h:743
PFNCGGLSETPARAMETER4DPROC cgGLSetParameter4d
PFNCGGETFIRSTPROGRAMPROC cgGetFirstProgram
Definition: cg_explicit.cpp:44
PFNCGGETPARAMETERVARIABILITYPROC cgGetParameterVariability
Definition: cg_explicit.cpp:70
PFNCGCREATEPROGRAMFROMFILEPROC cgCreateProgramFromFile
Definition: cg_explicit.cpp:41
void(* PFNCGGLSETPARAMETER4FVPROC)(CGparameter param, const float *v)
Definition: cg_explicit.h:638
void(* PFNCGGLSETPARAMETER3DPROC)(CGparameter param, double x, double y, double z)
Definition: cg_explicit.h:644
void(* PFNCGGLSETPARAMETERARRAY4FPROC)(CGparameter param, long offset, long nelements, const float *v)
Definition: cg_explicit.h:678
void(* PFNCGGLSETPARAMETER4DVPROC)(CGparameter param, const double *v)
Definition: cg_explicit.h:656
void(* PFNCGGLSETMATRIXPARAMETERARRAYDRPROC)(CGparameter param, long offset, long nelements, const double *matrices)
Definition: cg_explicit.h:760
PFNCGGLSETPARAMETERARRAY1DPROC cgGLSetParameterArray1d
void(* PFNCGGLLOADPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:619
CGparameter(* PFNCGGETNAMEDPARAMETERPROC)(CGprogram prog, const char *name)
Definition: cg_explicit.h:502
PFNCGGETARRAYSIZEPROC cgGetArraySize
Definition: cg_explicit.cpp:61
PFNCGGETLASTLISTINGPROC cgGetLastListing
Definition: cg_explicit.cpp:39
PFNCGGLSETPARAMETERARRAY4DPROC cgGLSetParameterArray4d
PFNCGGETFIRSTSTRUCTPARAMETERPROC cgGetFirstStructParameter
Definition: cg_explicit.cpp:57
PFNCGGETNEXTLEAFPARAMETERPROC cgGetNextLeafParameter
Definition: cg_explicit.cpp:56
PFNCGGLISPROFILESUPPORTEDPROC cgGLIsProfileSupported
Definition: cg_explicit.cpp:84
PFNCGGLGETPARAMETER3DPROC cgGLGetParameter3d
void(* PFNCGGLSETMATRIXPARAMETERDRPROC)(CGparameter param, const double *matrix)
Definition: cg_explicit.h:737
CGbool(* PFNCGISPROGRAMCOMPILEDPROC)(CGprogram program)
Definition: cg_explicit.h:499
void(* PFNCGGLSETPARAMETER4FPROC)(CGparameter param, float x, float y, float z, float w)
Definition: cg_explicit.h:630
void(* PFNCGGLGETMATRIXPARAMETERARRAYFCPROC)(CGparameter param, long offset, long nelements, float *matrices)
Definition: cg_explicit.h:764
PFNCGGLSETPARAMETERARRAY1FPROC cgGLSetParameterArray1f
PFNCGGETPROGRAMCONTEXTPROC cgGetProgramContext
Definition: cg_explicit.cpp:46
CGprogram(* PFNCGGETFIRSTPROGRAMPROC)(CGcontext ctx)
Definition: cg_explicit.h:494
void(* PFNCGGLSETPARAMETER3FVPROC)(CGparameter param, const float *v)
Definition: cg_explicit.h:637
CGprogram(* PFNCGCREATEPROGRAMPROC)(CGcontext ctx, CGenum program_type, const char *program, CGprofile profile, const char *entry, const char **args)
Definition: cg_explicit.h:480
void(* PFNCGGLSETMATRIXPARAMETERFRPROC)(CGparameter param, const float *matrix)
Definition: cg_explicit.h:738
void(* PFNCGGLSETPARAMETER2FVPROC)(CGparameter param, const float *v)
Definition: cg_explicit.h:636
void(* PFNCGGLSETPARAMETER2DPROC)(CGparameter param, double x, double y)
Definition: cg_explicit.h:641
PFNCGGLGETPARAMETER2FPROC cgGLGetParameter2f
CGprogram(* PFNCGCOPYPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:492
PFNCGGLGETMATRIXPARAMETERARRAYDCPROC cgGLGetMatrixParameterArraydc
const char *(* PFNCGGETTYPESTRINGPROC)(CGtype type)
Definition: cg_explicit.h:526
PFNCGGLSETMATRIXPARAMETERARRAYFCPROC cgGLSetMatrixParameterArrayfc
PFNCGGETPROFILEPROC cgGetProfile
Definition: cg_explicit.cpp:79
PFNCGGLGETPARAMETERARRAY3DPROC cgGLGetParameterArray3d
void(* PFNCGGLGETMATRIXPARAMETERFRPROC)(CGparameter param, float *matrix)
Definition: cg_explicit.h:742
CGprofile(* PFNCGGETPROGRAMPROFILEPROC)(CGprogram prog)
Definition: cg_explicit.h:501
void(* PFNCGGLENABLECLIENTSTATEPROC)(CGparameter param)
Definition: cg_explicit.h:735
PFNCGGLGETMATRIXPARAMETERARRAYFCPROC cgGLGetMatrixParameterArrayfc
void(* PFNCGGLSETOPTIMALOPTIONSPROC)(CGprofile profile)
Definition: cg_explicit.h:618
PFNCGISPARAMETERPROC cgIsParameter
Definition: cg_explicit.cpp:63
void(* PFNCGGLSETPARAMETER1FVPROC)(CGparameter param, const float *v)
Definition: cg_explicit.h:635
CGbool(* PFNCGISPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:513
PFNCGGLGETPARAMETER4FPROC cgGLGetParameter4f
void(* PFNCGGLSETMATRIXPARAMETERARRAYFRPROC)(CGparameter param, long offset, long nelements, const float *matrices)
Definition: cg_explicit.h:752
void(* PFNCGGETPARAMETERVALUESPROC)(CGparameter param, CGenum value_type, int *nvalues)
Definition: cg_explicit.h:523
PFNCGGLSETPARAMETER4FVPROC cgGLSetParameter4fv
Definition: cg_explicit.cpp:98
PFNCGGETPARAMETERRESOURCEINDEXPROC cgGetParameterResourceIndex
Definition: cg_explicit.cpp:69
PFNCGSETERRORCALLBACKPROC cgSetErrorCallback
Definition: cg_explicit.cpp:82
PFNCGGLGETTEXTUREPARAMETERPROC cgGLGetTextureParameter
void(* PFNCGDESTROYCONTEXTPROC)(CGcontext ctx)
Definition: cg_explicit.h:477
void(* PFNCGGLGETPARAMETERARRAY3DPROC)(CGparameter param, long offset, long nelements, double *v)
Definition: cg_explicit.h:722
PFNCGGLSETPARAMETER4DVPROC cgGLSetParameter4dv
PFNCGGLDISABLEPROFILEPROC cgGLDisableProfile
Definition: cg_explicit.cpp:86
void(* PFNCGGLGETPARAMETERARRAY3FPROC)(CGparameter param, long offset, long nelements, float *v)
Definition: cg_explicit.h:706
PFNCGGLGETMATRIXPARAMETERDCPROC cgGLGetMatrixParameterdc
PFNCGGETPARAMETERBASERESOURCEPROC cgGetParameterBaseResource
Definition: cg_explicit.cpp:68
GLuint(* PFNCGGLGETTEXTUREPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:781
PFNCGDESTROYPROGRAMPROC cgDestroyProgram
Definition: cg_explicit.cpp:43
PFNCGGETERRORCALLBACKPROC cgGetErrorCallback
Definition: cg_explicit.cpp:83
PFNCGGLLOADPROGRAMPROC cgGLLoadProgram
Definition: cg_explicit.cpp:89
PFNCGGLGETPARAMETER3FPROC cgGLGetParameter3f
PFNCGGLGETPARAMETERARRAY4DPROC cgGLGetParameterArray4d
PFNCGGLGETPARAMETERARRAY3FPROC cgGLGetParameterArray3f
void(* PFNCGGLDISABLEPROFILEPROC)(CGprofile profile)
Definition: cg_explicit.h:616
PFNCGGLSETPARAMETER1FVPROC cgGLSetParameter1fv
Definition: cg_explicit.cpp:95
CGcontext(* PFNCGGETPROGRAMCONTEXTPROC)(CGprogram prog)
Definition: cg_explicit.h:496
PFNCGGLDISABLETEXTUREPARAMETERPROC cgGLDisableTextureParameter
PFNCGGETPROGRAMSTRINGPROC cgGetProgramString
Definition: cg_explicit.cpp:50
PFNCGGLSETPARAMETERARRAY3FPROC cgGLSetParameterArray3f
void(* PFNCGGLGETMATRIXPARAMETERARRAYDCPROC)(CGparameter param, long offset, long nelements, double *matrices)
Definition: cg_explicit.h:772
PFNCGGETNEXTPROGRAMPROC cgGetNextProgram
Definition: cg_explicit.cpp:45
PFNCGGLGETPARAMETER2DPROC cgGLGetParameter2d
PFNCGGLGETPARAMETERARRAY2DPROC cgGLGetParameterArray2d
void(* PFNCGGLSETPARAMETER1FPROC)(CGparameter param, float x)
Definition: cg_explicit.h:621
PFNCGGLSETPARAMETER2FVPROC cgGLSetParameter2fv
Definition: cg_explicit.cpp:96
CGparameter(* PFNCGGETFIRSTLEAFPARAMETERPROC)(CGprogram prog, CGenum name_space)
Definition: cg_explicit.h:505
void(* PFNCGGLGETPARAMETERARRAY2FPROC)(CGparameter param, long offset, long nelements, float *v)
Definition: cg_explicit.h:702
PFNCGGETFIRSTLEAFPARAMETERPROC cgGetFirstLeafParameter
Definition: cg_explicit.cpp:55
PFNCGGLSETPARAMETER1FPROC cgGLSetParameter1f
Definition: cg_explicit.cpp:91
void(* PFNCGGLSETPARAMETER4DPROC)(CGparameter param, double x, double y, double z, double w)
Definition: cg_explicit.h:648
PFNCGCREATECONTEXTPROC cgCreateContext
Definition: cg_explicit.cpp:36
PFNCGGLSETSTATEMATRIXPARAMETERPROC cgGLSetStateMatrixParameter
void(* PFNCGGLSETPARAMETER1DPROC)(CGparameter param, double x)
Definition: cg_explicit.h:639
CGprogram(* PFNCGGETNEXTPROGRAMPROC)(CGprogram current)
Definition: cg_explicit.h:495
PFNCGGLSETTEXTUREPARAMETERPROC cgGLSetTextureParameter
void(* PFNCGGLGETPARAMETER2FPROC)(CGparameter param, float *v)
Definition: cg_explicit.h:659
PFNCGGLSETMATRIXPARAMETERDCPROC cgGLSetMatrixParameterdc
PFNCGGETARRAYPARAMETERPROC cgGetArrayParameter
Definition: cg_explicit.cpp:59
void(* PFNCGGLDISABLECLIENTSTATEPROC)(CGparameter param)
Definition: cg_explicit.h:736
void(* PFNCGGLGETPARAMETER3DPROC)(CGparameter param, double *v)
Definition: cg_explicit.h:664
CGbool(* PFNCGISPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:497
PFNCGISPROGRAMPROC cgIsProgram
Definition: cg_explicit.cpp:47
PFNCGGLSETMATRIXPARAMETERFCPROC cgGLSetMatrixParameterfc
PFNCGGLSETMATRIXPARAMETERDRPROC cgGLSetMatrixParameterdr
void(* PFNCGGLGETPARAMETER1FPROC)(CGparameter param, float *v)
Definition: cg_explicit.h:658
void(* PFNCGGLSETPARAMETERARRAY3FPROC)(CGparameter param, long offset, long nelements, const float *v)
Definition: cg_explicit.h:674
PFNCGGLGETPARAMETERARRAY2FPROC cgGLGetParameterArray2f
void(* PFNCGGLGETPARAMETER1DPROC)(CGparameter param, double *v)
Definition: cg_explicit.h:662
void(* PFNCGGLSETPARAMETERARRAY2DPROC)(CGparameter param, long offset, long nelements, const double *v)
Definition: cg_explicit.h:686
void(* PFNCGGLENABLETEXTUREPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:782
PFNCGGLSETPARAMETER1DVPROC cgGLSetParameter1dv
void(* PFNCGGLGETMATRIXPARAMETERARRAYDRPROC)(CGparameter param, long offset, long nelements, double *matrices)
Definition: cg_explicit.h:776
PFNCGGLGETPARAMETER1DPROC cgGLGetParameter1d
PFNCGGLSETPARAMETERPOINTERPROC cgGLSetParameterPointer
CGbool(* PFNCGGLISPROFILESUPPORTEDPROC)(CGprofile profile)
Definition: cg_explicit.h:614
CGparameter(* PFNCGGETFIRSTSTRUCTPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:507
void(* PFNCGGLSETPARAMETER3DVPROC)(CGparameter param, const double *v)
Definition: cg_explicit.h:655
PFNCGGETERRORPROC cgGetError
Definition: cg_explicit.cpp:80
const char *(* PFNCGGETPARAMETERNAMEPROC)(CGparameter param)
Definition: cg_explicit.h:514
CGprogram(* PFNCGCREATEPROGRAMFROMFILEPROC)(CGcontext ctx, CGenum program_type, const char *program_file, CGprofile profile, const char *entry, const char **args)
Definition: cg_explicit.h:486
CGprogram(* PFNCGGETPARAMETERPROGRAMPROC)(CGparameter prog)
Definition: cg_explicit.h:512
PFNCGGLGETPARAMETERARRAY1FPROC cgGLGetParameterArray1f
void(* PFNCGDESTROYPROGRAMPROC)(CGprogram program)
Definition: cg_explicit.h:493
void(* PFNCGGLGETPARAMETER3FPROC)(CGparameter param, float *v)
Definition: cg_explicit.h:660
PFNCGDESTROYCONTEXTPROC cgDestroyContext
Definition: cg_explicit.cpp:37
PFNCGGETPARAMETERTYPEPROC cgGetParameterType
Definition: cg_explicit.cpp:65
void(* PFNCGGLSETSTATEMATRIXPARAMETERPROC)(CGparameter param, GLenum matrix, GLenum transform)
Definition: cg_explicit.h:745
CGenum(* PFNCGGETPARAMETERVARIABILITYPROC)(CGparameter param)
Definition: cg_explicit.h:520
PFNCGGETARRAYDIMENSIONPROC cgGetArrayDimension
Definition: cg_explicit.cpp:60
CGparameter(* PFNCGGETARRAYPARAMETERPROC)(CGparameter aparam, int index)
Definition: cg_explicit.h:509
PFNCGGLGETMATRIXPARAMETERARRAYFRPROC cgGLGetMatrixParameterArrayfr
PFNCGGLDISABLECLIENTSTATEPROC cgGLDisableClientState
PFNCGGLGETPARAMETER4DPROC cgGLGetParameter4d
CGparameter(* PFNCGGETFIRSTDEPENDENTPARAMETERPROC)(CGparameter param)
Definition: cg_explicit.h:508
PFNCGGLSETMATRIXPARAMETERARRAYDRPROC cgGLSetMatrixParameterArraydr
CGprofile(* PFNCGGETPROFILEPROC)(const char *profile_string)
Definition: cg_explicit.h:531
PFNCGGLSETPARAMETERARRAY3DPROC cgGLSetParameterArray3d
CGprofile(* PFNCGGLGETLATESTPROFILEPROC)(CGGLenum profile_type)
Definition: cg_explicit.h:617
PFNCGGLSETPARAMETER3FPROC cgGLSetParameter3f
Definition: cg_explicit.cpp:93
CGbool(* PFNCGISCONTEXTPROC)(CGcontext ctx)
Definition: cg_explicit.h:478
void(* PFNCGGLSETPARAMETER3FPROC)(CGparameter param, float x, float y, float z)
Definition: cg_explicit.h:626
PFNCGGETPARAMETERPROGRAMPROC cgGetParameterProgram
Definition: cg_explicit.cpp:62
void(* PFNCGSETERRORCALLBACKPROC)(CGerrorCallbackFunc func)
Definition: cg_explicit.h:534
PFNCGISPARAMETERREFERENCEDPROC cgIsParameterReferenced
Definition: cg_explicit.cpp:72
CGparameter(* PFNCGGETFIRSTPARAMETERPROC)(CGprogram prog, CGenum name_space)
Definition: cg_explicit.h:503
CGerror(* PFNCGGETERRORPROC)(void)
Definition: cg_explicit.h:532
CGresource(* PFNCGGETPARAMETERBASERESOURCEPROC)(CGparameter param)
Definition: cg_explicit.h:518
PFNCGGLSETPARAMETER3FVPROC cgGLSetParameter3fv
Definition: cg_explicit.cpp:97
PFNCGGETFIRSTPARAMETERPROC cgGetFirstParameter
Definition: cg_explicit.cpp:53
PFNCGGLGETTEXTUREENUMPROC cgGLGetTextureEnum
const char *(* PFNCGGETLASTLISTINGPROC)(CGcontext ctx)
Definition: cg_explicit.h:479
CGenum(* PFNCGGETPARAMETERDIRECTIONPROC)(CGparameter param)
Definition: cg_explicit.h:521
PFNCGGETFIRSTDEPENDENTPARAMETERPROC cgGetFirstDependentParameter
Definition: cg_explicit.cpp:58
PFNCGGLENABLEPROFILEPROC cgGLEnableProfile
Definition: cg_explicit.cpp:85
PFNCGGETRESOURCEPROC cgGetResource
Definition: cg_explicit.cpp:77
void(* PFNCGGLGETMATRIXPARAMETERDRPROC)(CGparameter param, double *matrix)
Definition: cg_explicit.h:741
CGparameter(* PFNCGGETNEXTPARAMETERPROC)(CGparameter current)
Definition: cg_explicit.h:504
PFNCGGETNAMEDPARAMETERPROC cgGetNamedParameter
Definition: cg_explicit.cpp:52
CGtype(* PFNCGGETTYPEPROC)(const char *type_string)
Definition: cg_explicit.h:527
PFNCGGETPROGRAMPROFILEPROC cgGetProgramProfile
Definition: cg_explicit.cpp:51
PFNCGGLSETPARAMETER2DVPROC cgGLSetParameter2dv
CGtype(* PFNCGGETPARAMETERTYPEPROC)(CGparameter param)
Definition: cg_explicit.h:515
PFNCGGETERRORSTRINGPROC cgGetErrorString
Definition: cg_explicit.cpp:81
PFNCGCOMPILEPROGRAMPROC cgCompileProgram
Definition: cg_explicit.cpp:48
const char *(* PFNCGGETRESOURCESTRINGPROC)(CGresource resource)
Definition: cg_explicit.h:528
void(* PFNCGGLSETPARAMETERARRAY1FPROC)(CGparameter param, long offset, long nelements, const float *v)
Definition: cg_explicit.h:666
PFNCGGETPARAMETERSEMANTICPROC cgGetParameterSemantic
Definition: cg_explicit.cpp:66
CGcontext(* PFNCGCREATECONTEXTPROC)(void)
Definition: cg_explicit.h:476
CGerrorCallbackFunc(* PFNCGGETERRORCALLBACKPROC)(void)
Definition: cg_explicit.h:535
PFNCGGLSETPARAMETER4FPROC cgGLSetParameter4f
Definition: cg_explicit.cpp:94
bool init_explicit_Cg()
PFNCGGLGETPARAMETERARRAY1DPROC cgGLGetParameterArray1d
PFNCGGLSETPARAMETER3DPROC cgGLSetParameter3d
PFNCGGETNEXTPARAMETERPROC cgGetNextParameter
Definition: cg_explicit.cpp:54
const char *(* PFNCGGETPROFILESTRINGPROC)(CGprofile profile)
Definition: cg_explicit.h:530
PFNCGGLSETPARAMETER3DVPROC cgGLSetParameter3dv
void(* PFNCGGLSETPARAMETER1DVPROC)(CGparameter param, const double *v)
Definition: cg_explicit.h:653
PFNCGGLENABLECLIENTSTATEPROC cgGLEnableClientState
PFNCGGLBINDPROGRAMPROC cgGLBindProgram
Definition: cg_explicit.cpp:90
PFNCGGLENABLETEXTUREPARAMETERPROC cgGLEnableTextureParameter
PFNCGGLSETPARAMETERARRAY4FPROC cgGLSetParameterArray4f
int(* PFNCGGETARRAYDIMENSIONPROC)(CGparameter param)
Definition: cg_explicit.h:510
CGparameter(* PFNCGGETNEXTLEAFPARAMETERPROC)(CGparameter current)
Definition: cg_explicit.h:506
void(* PFNCGGLSETTEXTUREPARAMETERPROC)(CGparameter param, GLuint texobj)
Definition: cg_explicit.h:780
PFNCGGLSETMATRIXPARAMETERARRAYDCPROC cgGLSetMatrixParameterArraydc
CGbool(* PFNCGISPARAMETERREFERENCEDPROC)(CGparameter param)
Definition: cg_explicit.h:522
PFNCGGETPARAMETERVALUESPROC cgGetParameterValues
Definition: cg_explicit.cpp:73
const char *(* PFNCGGETPARAMETERSEMANTICPROC)(CGparameter param)
Definition: cg_explicit.h:516
const char *(* PFNCGGETPROGRAMSTRINGPROC)(CGprogram prog, CGenum pname)
Definition: cg_explicit.h:500
PFNCGGLSETPARAMETERARRAY2FPROC cgGLSetParameterArray2f
void(* PFNCGGLSETPARAMETER2DVPROC)(CGparameter param, const double *v)
Definition: cg_explicit.h:654
PFNCGISPROGRAMCOMPILEDPROC cgIsProgramCompiled
Definition: cg_explicit.cpp:49
void(* PFNCGGLSETMATRIXPARAMETERFCPROC)(CGparameter param, const float *matrix)
Definition: cg_explicit.h:740
void(* PFNCGGLGETPARAMETERARRAY1FPROC)(CGparameter param, long offset, long nelements, float *v)
Definition: cg_explicit.h:698
void(* PFNCGGLSETMATRIXPARAMETERARRAYDCPROC)(CGparameter param, long offset, long nelements, const double *matrices)
Definition: cg_explicit.h:756
PFNCGGLSETPARAMETER2FPROC cgGLSetParameter2f
Definition: cg_explicit.cpp:92
void(* PFNCGGLSETPARAMETERARRAY2FPROC)(CGparameter param, long offset, long nelements, const float *v)
Definition: cg_explicit.h:670
const char *(* PFNCGGETERRORSTRINGPROC)(CGerror error)
Definition: cg_explicit.h:533
void(* PFNCGGLGETPARAMETERARRAY4DPROC)(CGparameter param, long offset, long nelements, double *v)
Definition: cg_explicit.h:726
PFNCGGLSETMATRIXPARAMETERARRAYFRPROC cgGLSetMatrixParameterArrayfr
PFNCGGLSETPARAMETER2DPROC cgGLSetParameter2d
PFNCGGLGETPARAMETER1FPROC cgGLGetParameter1f
void(* PFNCGGLSETPARAMETERARRAY4DPROC)(CGparameter param, long offset, long nelements, const double *v)
Definition: cg_explicit.h:694
PFNCGGETPARAMETERRESOURCEPROC cgGetParameterResource
Definition: cg_explicit.cpp:67
void(* PFNCGGLSETPARAMETER2FPROC)(CGparameter param, float x, float y)
Definition: cg_explicit.h:623
PFNCGGLGETMATRIXPARAMETERARRAYDRPROC cgGLGetMatrixParameterArraydr
PFNCGGETPARAMETERNAMEPROC cgGetParameterName
Definition: cg_explicit.cpp:64
void(* PFNCGGLENABLEPROFILEPROC)(CGprofile profile)
Definition: cg_explicit.h:615
PFNCGCOPYPROGRAMPROC cgCopyProgram
Definition: cg_explicit.cpp:42
PFNCGGLGETMATRIXPARAMETERFRPROC cgGLGetMatrixParameterfr
void(* PFNCGGLGETPARAMETERARRAY2DPROC)(CGparameter param, long offset, long nelements, double *v)
Definition: cg_explicit.h:718
void(* PFNCGGLGETMATRIXPARAMETERARRAYFRPROC)(CGparameter param, long offset, long nelements, float *matrices)
Definition: cg_explicit.h:768