OpenGL APIs

#图形学

Clear color

glClearColor glClear

Create buffer

Compile shader

Error handling

Vertex array

Draw

Index buffer

Shaders

output of vertex shader is the input of fragment shader.

Uniform

uniform is “global value” of shader.

Interpolation

color is interpolated among three vertices of a triagle.