PyAPI: remove deprecated 2D_/3D_ prefix (update docs)
This commit is contained in:
parent
9a8fd2f1dd
commit
495e4f2d0e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user