Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-10-12 01:21:28 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-10-12 01:21:28 +0300
commit72335d5e89d9ecae5f08ab0d4076235a7f6b5f06 (patch)
tree6782f3ee6685c2ae580078f52ade1a6f98768108 /doc
parent1b575cbb75c3cfd402374a876c2e900f31dda791 (diff)
Pydoc: Move builtin GPU shader information to code
This fixes a compile warning for sphinx. This commit includes some reformating of the information.
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/gpu.shader.py36
1 files changed, 0 insertions, 36 deletions
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: -
-
-"""