Graphics Reference
In-Depth Information
Vertex Buffer/
Array Objects
Transform
Feedback
Array Objects
Vertex
Shader
Primitive
Assembly
Primitive
Rasterization
Shader
API
Textures
Fragment
Shader
Per-Fragment
Operations
Framebuffer
Figure 8-1
OpenGL ES 3.0 Programmable Pipeline
Vertex Shader Overview
The vertex shader provides a general-purpose programmable method for
operating on vertices. Figure 8-2 shows the inputs and outputs of a vertex
shader. The inputs to the vertex shader consist of the following:
• Attributes—Per-vertex data supplied using vertex arrays.
• Uniforms and uniform buffers—Constant data used by the vertex
shader.
• Samplers—A specific type of uniform that represents textures used by
the vertex shader.
• Shader program—Vertex shader program source code or executable
that describes the operations that will be performed on the vertex.
The outputs of the vertex shader are called vertex shader output
variables. In the primitive rasterization stage, these variables are
computed for each generated fragment and are passed in as inputs to the
fragment shader.
 
 
Search WWH ::




Custom Search