00001 /* 00002 ATI fragment shader Extension header file. 00003 setup by NFZ 00004 extracted from ATI 8500 SDK 00005 00006 ** GL_ATI_fragment_shader 00007 ** 00008 ** Support: 00009 ** Rage 128 * based : Not Supported 00010 ** Radeon * based : Not Supported 00011 ** R200 * based : Supported 00012 ** R200 : 8500, 9000, 9100, 9200 00013 ** also works on R300 but pointless since ARBFP1.0 supported 00014 */ 00015 00016 00017 #ifndef _GL_ATI_FRAGMENT_SHADER_H_ 00018 #define _GL_ATI_FRAGMENT_SHADER_H_ 00019 00020 #include "OgreGLSupport.h" 00021 00022 // ATI_fragment_program functions 00023 extern PFNGLGENFRAGMENTSHADERSATIPROC glGenFragmentShadersATI_ptr; 00024 extern PFNGLBINDFRAGMENTSHADERATIPROC glBindFragmentShaderATI_ptr; 00025 extern PFNGLDELETEFRAGMENTSHADERATIPROC glDeleteFragmentShaderATI_ptr; 00026 extern PFNGLBEGINFRAGMENTSHADERATIPROC glBeginFragmentShaderATI_ptr; 00027 extern PFNGLENDFRAGMENTSHADERATIPROC glEndFragmentShaderATI_ptr; 00028 extern PFNGLPASSTEXCOORDATIPROC glPassTexCoordATI_ptr; 00029 extern PFNGLSAMPLEMAPATIPROC glSampleMapATI_ptr; 00030 extern PFNGLCOLORFRAGMENTOP1ATIPROC glColorFragmentOp1ATI_ptr; 00031 extern PFNGLCOLORFRAGMENTOP2ATIPROC glColorFragmentOp2ATI_ptr; 00032 extern PFNGLCOLORFRAGMENTOP3ATIPROC glColorFragmentOp3ATI_ptr; 00033 extern PFNGLALPHAFRAGMENTOP1ATIPROC glAlphaFragmentOp1ATI_ptr; 00034 extern PFNGLALPHAFRAGMENTOP2ATIPROC glAlphaFragmentOp2ATI_ptr; 00035 extern PFNGLALPHAFRAGMENTOP3ATIPROC glAlphaFragmentOp3ATI_ptr; 00036 extern PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glSetFragmentShaderConstantATI_ptr; 00037 00038 bool InitATIFragmentShaderExtensions(Ogre::GLSupport& glSupport); 00039 00040 #endif //_GL_ATI_FRAGMENT_SHADER_H_ 00041
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:37:41 2006