/* # AUTOGENERATED DO NOT EDIT # If you edit this file, delete the AUTOGENERATED line to prevent re-generation # BUILD api_versions [0x001] */ %module color_matrix #define __version__ "$Revision: 1.1.2.1 $" #define __date__ "$Date: 2004/11/15 07:38:07 $" #define __api_version__ API_VERSION #define __author__ "PyOpenGL Developers " #define __doc__ "" %{ /** * * GL.SGI.color_matrix Module for PyOpenGL * * Authors: PyOpenGL Developers * ***/ %} %include util.inc %include gl_exception_handler.inc %{ #ifdef CGL_PLATFORM # include #else # include #endif #if !EXT_DEFINES_PROTO || !defined(GL_SGI_color_matrix) #endif %} /* FUNCTION DECLARATIONS */ /* CONSTANT DECLARATIONS */ #define GL_COLOR_MATRIX_SGI 0x80B1 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB %{ static char *proc_names[] = { #if !EXT_DEFINES_PROTO || !defined(GL_SGI_color_matrix) #endif NULL }; #define glInitColorMatrixSGI() InitExtension("GL_SGI_color_matrix", proc_names) %} int glInitColorMatrixSGI(); DOC(glInitColorMatrixSGI, "glInitColorMatrixSGI() -> bool") %{ PyObject *__info() { if (glInitColorMatrixSGI()) { PyObject *info = PyList_New(0); return info; } Py_INCREF(Py_None); return Py_None; } %} PyObject *__info();