GLUS
|
#include "GL/glus.h"
Functions | |
GLUSboolean GLUSAPIENTRY | glusProgramPipelineBuild (GLUSprogrampipeline *programPipeline, GLUSuint vertexProgram, GLUSuint controlProgram, GLUSuint evaluationProgram, GLUSuint geometryProgram, GLUSuint fragmentProgram) |
Builds a program pipeline. More... | |
GLUSboolean GLUSAPIENTRY | glusProgramPipelineBuildCompute (GLUSprogrampipeline *programPipeline, GLUSuint computeProgram) |
Builds a compute shader program pipeline. More... | |
GLUSvoid GLUSAPIENTRY | glusProgramPipelineDestroy (GLUSprogrampipeline *programPipeline) |
Destroys a program pipeline by freeing the pipeline. More... | |
GLUSboolean GLUSAPIENTRY glusProgramPipelineBuild | ( | GLUSprogrampipeline * | programPipeline, |
GLUSuint | vertexProgram, | ||
GLUSuint | controlProgram, | ||
GLUSuint | evaluationProgram, | ||
GLUSuint | geometryProgram, | ||
GLUSuint | fragmentProgram | ||
) |
Builds a program pipeline.
programPipeline | This structure holds the necessary information of the program pipeline and the different shader programs. |
vertexProgram | Vertex shader program. |
controlProgram | Tessellation control shader program. |
evaluationProgram | Tessellation evaluation shader program. |
geometryProgram | Geometry shader program. |
fragmentProgram | Fragment shader program. |
GLUSboolean GLUSAPIENTRY glusProgramPipelineBuildCompute | ( | GLUSprogrampipeline * | programPipeline, |
GLUSuint | computeProgram | ||
) |
Builds a compute shader program pipeline.
programPipeline | This structure holds the necessary information of the program pipeline and the different shader programs. |
computeProgram | Compute shader program. |
GLUSvoid GLUSAPIENTRY glusProgramPipelineDestroy | ( | GLUSprogrampipeline * | programPipeline | ) |
Destroys a program pipeline by freeing the pipeline.
The programs are not freed.
programPipeline | This structure holds the necessary information of the program pipeline and the different shader programs. |