You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Manoylov Andriy eb8d3c5f80 add ukrainian translation 10 months ago
..
README-ua.md add ukrainian translation 10 months ago
README-vi.md Translate glossary section (partly) and swap all/any page 4 years ago
README.md Remove trailing whitespaces 7 years ago

README.md

Attribute

Vertex attribute data.

Example

attribute vec4 v_color;

Description

attribute read-only variables containing data shared from WebGL/OpenGL environment to the vertex shader.

Because the vertex shader is executed one time for each vertex, attributes are specify per vertex data typically with information such as: space position, color, normal direction and texture coordinates of a vertex.

See Also

const, uniform, varying, Chapter 03: Uniforms