From 67de6038ad7c4660082f9f41de46729e94afd86a Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Wed, 16 Nov 2005 22:00:10 +0000 Subject: 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 --- src/native/ogl/CgWrapper.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/native/ogl/CgWrapper.h') 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 */ }; -- cgit v1.2.3