opengl.cfg: Add glColor* functions

This commit is contained in:
versat 2019-07-12 14:34:15 +02:00
parent aaecd300de
commit f47fc84825
1 changed files with 76 additions and 0 deletions

View File

@ -51,6 +51,82 @@
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
<!-- void glColor3b( GLbyte red, GLbyte green, GLbyte blue ); -->
<!-- void glColor3s( GLshort red, GLshort green, GLshort blue ); -->
<!-- void glColor3i( GLint red, GLint green, GLint blue ); -->
<!-- void glColor3f( GLfloat red, GLfloat green, GLfloat blue ); -->
<!-- void glColor3d( GLdouble red, GLdouble green, GLdouble blue ); -->
<!-- void glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); -->
<!-- void glColor3us( GLushort red, GLushort green, GLushort blue ); -->
<!-- void glColor3ui( GLuint red, GLuint green, GLuint blue ); -->
<function name="glColor3b,glColor3s,glColor3i,glColor3f,glColor3d,glColor3ub,glColor3us,glColor3ui">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
<!-- void glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); -->
<!-- void glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ); -->
<!-- void glColor4i( GLint red, GLint green, GLint blue, GLint alpha ); -->
<!-- void glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); -->
<!-- void glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ); -->
<!-- void glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ); -->
<!-- void glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ); -->
<!-- void glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ); -->
<function name="glColor4b,glColor4s,glColor4i,glColor4f,glColor4d,glColor4ub,glColor4us,glColor4ui">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
<arg nr="4" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glColor.xml -->
<!-- void glColor3bv( const GLbyte * v ); -->
<!-- void glColor3sv( const GLshort * v ); -->
<!-- void glColor3iv( const GLint * v ); -->
<!-- void glColor3fv( const GLfloat * v ); -->
<!-- void glColor3dv( const GLdouble * v ); -->
<!-- void glColor3ubv( const GLubyte * v ); -->
<!-- void glColor3usv( const GLushort * v ); -->
<!-- void glColor3uiv( const GLuint * v ); -->
<!-- void glColor4bv( const GLbyte * v ); -->
<!-- void glColor4sv( const GLshort * v ); -->
<!-- void glColor4iv( const GLint * v ); -->
<!-- void glColor4fv( const GLfloat * v ); -->
<!-- void glColor4dv( const GLdouble * v ); -->
<!-- void glColor4ubv( const GLubyte * v ); -->
<!-- void glColor4usv( const GLushort * v ); -->
<!-- void glColor4uiv( const GLuint * v ); -->
<function name="glColor3bv,glColor3sv,glColor3iv,glColor3fv,glColor3dv,glColor3ubv,glColor3usv,glColor3uiv,glColor4bv,glColor4sv,glColor4iv,glColor4fv,glColor4dv,glColor4ubv,glColor4usv,glColor4uiv">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-null/>
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glEnable.xml -->
<!-- void glDisable( GLenum cap); -->
<function name="glDisable">