GLUS
|
#include "GL/glus.h"
Functions | |
GLUSAPI GLUSboolean GLUSAPIENTRY | glusProgramPipelineBuild (GLUSprogrampipeline *programPipeline, GLUSuint vertexProgram, 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... | |
GLUSAPI GLUSboolean GLUSAPIENTRY glusProgramPipelineBuild | ( | GLUSprogrampipeline * | programPipeline, |
GLUSuint | vertexProgram, | ||
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. |
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. |