From 72335d5e89d9ecae5f08ab0d4076235a7f6b5f06 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Sun, 11 Oct 2020 18:21:28 -0400 Subject: Pydoc: Move builtin GPU shader information to code This fixes a compile warning for sphinx. This commit includes some reformating of the information. --- doc/python_api/examples/gpu.shader.py | 36 ----------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 doc/python_api/examples/gpu.shader.py (limited to 'doc/python_api/examples') diff --git a/doc/python_api/examples/gpu.shader.py b/doc/python_api/examples/gpu.shader.py deleted file mode 100644 index 3c72e70378c..00000000000 --- a/doc/python_api/examples/gpu.shader.py +++ /dev/null @@ -1,36 +0,0 @@ -""" -Built-in shaders -++++++++++++++++ - -All built-in shaders have the ``mat4 ModelViewProjectionMatrix`` uniform. -The value of it can only be modified using the :class:`gpu.matrix` module. - -2D_UNIFORM_COLOR: - attributes: vec3 pos - uniforms: vec4 color - -2D_FLAT_COLOR: - attributes: vec3 pos, vec4 color - uniforms: - - -2D_SMOOTH_COLOR: - attributes: vec3 pos, vec4 color - uniforms: - - -2D_IMAGE: - attributes: vec3 pos, vec2 texCoord - uniforms: sampler2D image - -3D_UNIFORM_COLOR: - attributes: vec3 pos - uniforms: vec4 color - -3D_FLAT_COLOR: - attributes: vec3 pos, vec4 color - uniforms: - - -3D_SMOOTH_COLOR: - attributes: vec3 pos, vec4 color - uniforms: - - -""" -- cgit v1.2.3