diff options
author | Kevin Rushforth <[email protected]> | 2005-11-16 22:00:10 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2005-11-16 22:00:10 +0000 |
commit | 67de6038ad7c4660082f9f41de46729e94afd86a (patch) | |
tree | fb0f86048575f2363e4fc532858ac3973d5d75e7 /src/native/ogl/CgWrapper.h | |
parent | 1efa85c8c060de3d7ff504521a9f65ad75ec257c (diff) |
Issue 195 : Finish CgShader vertex attributes native methods
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@464 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/CgWrapper.h')
-rw-r--r-- | src/native/ogl/CgWrapper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/native/ogl/CgWrapper.h b/src/native/ogl/CgWrapper.h index feed5ad..ae48265 100644 --- a/src/native/ogl/CgWrapper.h +++ b/src/native/ogl/CgWrapper.h @@ -52,6 +52,10 @@ typedef CGtype (*PFNCGGETARRAYTYPE)(CGparameter); typedef int (*PFNCGGETARRAYSIZE)(CGparameter, int); typedef CGparameter (*PFNCGGETARRAYPARAMETER)(CGparameter, int); typedef void (*PFNCGSETPARAMETER1F)(CGparameter, float); +typedef void (*PFNCGGLSETPARAMETERPOINTER)(CGparameter, GLint, GLenum, + GLsizei, const GLvoid *); +typedef void (*PFNCGGLENABLECLIENTSTATE)(CGparameter); +typedef void (*PFNCGGLDISABLECLIENTSTATE)(CGparameter); #endif /* COMPILE_CG_SHADERS */ @@ -102,6 +106,10 @@ struct CgWrapperInfoRec { PFNCGGETARRAYPARAMETER cgGetArrayParameter; PFNCGSETPARAMETER1F cgSetParameter1f; + PFNCGGLSETPARAMETERPOINTER cgGLSetParameterPointer; + PFNCGGLENABLECLIENTSTATE cgGLEnableClientState; + PFNCGGLDISABLECLIENTSTATE cgGLDisableClientState; + #endif /* COMPILE_CG_SHADERS */ }; |