From 6ab3349bd44e21dbbd3e0c47dfbe2fb8a2a2a032 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Tue, 23 Nov 2021 13:02:20 +0100 Subject: Documentation: Remove deprecated glColor* from bgl module. glColor isn't supported but still part of the documentation. This patch removes the glColor from the documentation. Ref {T93315} --- doc/python_api/rst/bgl.rst | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'doc/python_api/rst/bgl.rst') diff --git a/doc/python_api/rst/bgl.rst b/doc/python_api/rst/bgl.rst index fd6366494e3..2369a422396 100644 --- a/doc/python_api/rst/bgl.rst +++ b/doc/python_api/rst/bgl.rst @@ -106,24 +106,6 @@ including advanced features. floating-point values. These values are interpreted as a plane equation. -.. function:: glColor (red, green, blue, alpha): - - B{glColor3b, glColor3d, glColor3f, glColor3i, glColor3s, glColor3ub, glColor3ui, glColor3us, - glColor4b, glColor4d, glColor4f, glColor4i, glColor4s, glColor4ub, glColor4ui, glColor4us, - glColor3bv, glColor3dv, glColor3fv, glColor3iv, glColor3sv, glColor3ubv, glColor3uiv, - glColor3usv, glColor4bv, glColor4dv, glColor4fv, glColor4iv, glColor4sv, glColor4ubv, - glColor4uiv, glColor4usv} - - Set a new color. - - .. seealso:: `OpenGL Docs `__ - - :type red, green, blue, alpha: Depends on function prototype. - :arg red, green, blue: Specify new red, green, and blue values for the current color. - :arg alpha: Specifies a new alpha value for the current color. Included only in the - four-argument glColor4 commands. (With '4' colors only) - - .. function:: glColorMask(red, green, blue, alpha): Enable and disable writing of frame buffer color components -- cgit v1.2.3