diff --git a/doc/python_api/examples/gpu.1.py b/doc/python_api/examples/gpu.1.py index ca810d7f8d1..11da6a471d0 100644 --- a/doc/python_api/examples/gpu.1.py +++ b/doc/python_api/examples/gpu.1.py @@ -77,7 +77,7 @@ Typically multiple shaders are linked together into a *Program*. However, in the Blender Python API the term *Shader* refers to an OpenGL Program. Every :class:`gpu.types.GPUShader` consists of a vertex shader, a fragment shader and an optional geometry shader. For common drawing tasks there are some built-in shaders accessible from :class:`gpu.shader.from_builtin` -with an identifier such as `2D_UNIFORM_COLOR` or `3D_FLAT_COLOR`. +with an identifier such as `UNIFORM_COLOR` or `FLAT_COLOR`. Every shader defines a set of attributes and uniforms that have to be set in order to use the shader. Attributes are properties that are set using a vertex buffer and can be different for individual vertices.