diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-11-05 21:26:53 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-11-05 21:28:28 +0300 |
commit | a8e9959e07a05f08cbe28a3b37c0b24874f6f76f (patch) | |
tree | 56f012d4ec7ab60c0940d8eaa1c3af71464f54c1 /source/blender/python/gpu/gpu_py_shader.c | |
parent | abbe4df30164b6a73c3d05efca1ecbacaf5a0476 (diff) |
API Docs: gpu api introduction + examples
Diffstat (limited to 'source/blender/python/gpu/gpu_py_shader.c')
-rw-r--r-- | source/blender/python/gpu/gpu_py_shader.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c index 91a2d3843ce..4569e64eb62 100644 --- a/source/blender/python/gpu/gpu_py_shader.c +++ b/source/blender/python/gpu/gpu_py_shader.c @@ -743,20 +743,6 @@ PyDoc_STRVAR(bpygpu_shader_from_builtin_doc, "\n" "Shaders that are embedded in the blender internal code.\n" "They all read the uniform 'mat4 ModelViewProjectionMatrix', which can be edited by the 'gpu.matrix' module.\n" -" '2D_UNIFORM_COLOR' (attribute: 'vec3 pos'; uniform: 'vec4 color');\n" -"\n" -" '2D_FLAT_COLOR' (attribute: 'vec4 color', 'vec3 pos');\n" -"\n" -" '2D_SMOOTH_COLOR' (attribute: 'vec4 color', 'vec3 pos');\n" -"\n" -" '2D_IMAGE' (attribute: 'vec2 texCoord', 'vec2 pos');\n" -"\n" -" '3D_UNIFORM_COLOR' (attribute: 'vec3 pos'; uniform: 'vec4 color');\n" -"\n" -" '3D_FLAT_COLOR' (attribute: 'vec4 color', 'vec3 pos');\n" -"\n" -" '3D_SMOOTH_COLOR (attribute: 'vec4 color', 'vec3 pos');\n" -"\n" "For more details, you can check the shader code with the function 'gpu.shader.code_from_builtin';\n" "\n" " :param shader_name: One of these builtin shader names: {\n" |