aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/CgWrapper.h
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2005-11-23 01:04:18 +0000
committerKevin Rushforth <[email protected]>2005-11-23 01:04:18 +0000
commitf4432b5902d59f3a0a1a1ec9fc36fe651b44588b (patch)
treed5d08d481bfbe5c8aafbe80403c0ad4ea701dda4 /src/native/ogl/CgWrapper.h
parentd322171cfb349247faf089e068ab2e9168c31c2d (diff)
Issue 196 : Finish CgShader shader attributes native methods
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@466 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/CgWrapper.h')
-rw-r--r--src/native/ogl/CgWrapper.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/native/ogl/CgWrapper.h b/src/native/ogl/CgWrapper.h
index ae48265..93b1fc7 100644
--- a/src/native/ogl/CgWrapper.h
+++ b/src/native/ogl/CgWrapper.h
@@ -51,7 +51,16 @@ typedef int (*PFNCGGETARRAYDIMENSION)(CGparameter);
typedef CGtype (*PFNCGGETARRAYTYPE)(CGparameter);
typedef int (*PFNCGGETARRAYSIZE)(CGparameter, int);
typedef CGparameter (*PFNCGGETARRAYPARAMETER)(CGparameter, int);
-typedef void (*PFNCGSETPARAMETER1F)(CGparameter, float);
+typedef void (*PFNCGGLSETPARAMETER1F)(CGparameter, float);
+typedef void (*PFNCGGLSETPARAMETER2F)(CGparameter, float, float);
+typedef void (*PFNCGGLSETPARAMETER3F)(CGparameter, float, float, float);
+typedef void (*PFNCGGLSETPARAMETER4F)(CGparameter, float, float, float, float);
+typedef void (*PFNCGGLSETPARAMETERARRAY1F)(CGparameter, long, long, const float *);
+typedef void (*PFNCGGLSETPARAMETERARRAY2F)(CGparameter, long, long, const float *);
+typedef void (*PFNCGGLSETPARAMETERARRAY3F)(CGparameter, long, long, const float *);
+typedef void (*PFNCGGLSETPARAMETERARRAY4F)(CGparameter, long, long, const float *);
+typedef void (*PFNCGGLSETMATRIXPARAMETERFR)(CGparameter, const float *);
+typedef void (*PFNCGGLSETMATRIXPARAMETERARRAYFR)(CGparameter, long, long, const float *);
typedef void (*PFNCGGLSETPARAMETERPOINTER)(CGparameter, GLint, GLenum,
GLsizei, const GLvoid *);
typedef void (*PFNCGGLENABLECLIENTSTATE)(CGparameter);
@@ -104,8 +113,16 @@ struct CgWrapperInfoRec {
PFNCGGETARRAYTYPE cgGetArrayType;
PFNCGGETARRAYSIZE cgGetArraySize;
PFNCGGETARRAYPARAMETER cgGetArrayParameter;
- PFNCGSETPARAMETER1F cgSetParameter1f;
-
+ PFNCGGLSETPARAMETER1F cgGLSetParameter1f;
+ PFNCGGLSETPARAMETER2F cgGLSetParameter2f;
+ PFNCGGLSETPARAMETER3F cgGLSetParameter3f;
+ PFNCGGLSETPARAMETER4F cgGLSetParameter4f;
+ PFNCGGLSETPARAMETERARRAY1F cgGLSetParameterArray1f;
+ PFNCGGLSETPARAMETERARRAY2F cgGLSetParameterArray2f;
+ PFNCGGLSETPARAMETERARRAY3F cgGLSetParameterArray3f;
+ PFNCGGLSETPARAMETERARRAY4F cgGLSetParameterArray4f;
+ PFNCGGLSETMATRIXPARAMETERFR cgGLSetMatrixParameterfr;
+ PFNCGGLSETMATRIXPARAMETERARRAYFR cgGLSetMatrixParameterArrayfr;
PFNCGGLSETPARAMETERPOINTER cgGLSetParameterPointer;
PFNCGGLENABLECLIENTSTATE cgGLEnableClientState;
PFNCGGLDISABLECLIENTSTATE cgGLDisableClientState;