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.
thebookofshaders/glossary/uniform/README-vi.md

526 B

Uniform

Uniform variable qualifier.

Ví dụ

uniform vec4 direction;

Mô tả

uniform variables contain read-only data shared from WebGL/OpenGL environment to a vertex or fragment shader.

The value is per primitive, so is useful for variables which remain constant along a primitive, frame or scene.

Tham khảo thêm

attribute, const, varying, Chương 03: Uniform