Shader Compilation

From OpenGL.org
Jump to: navigation, search

Shader Compilation is the process of text in the OpenGL Shading Language and loading it into OpenGL to be used as a Shader. OpenGL has three ways to compile shader text into useable OpenGL objects. All of these forms of compilation produce a Program Object.

Contents

Shader and program objects

Shader error handling

Separate programs

Separate Shader Stages
Core in version 4.3
Core since version 4.1
Core ARB extension ARB_separate_shader_objects


Program pipelines

Binary upload

Program Binary
Core in version 4.3
Core since version 4.1
Core ARB extension ARB_get_program_binary


Error handling

Interface matching

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox