GLUS
Functions
glus_programpipeline_es31.c File Reference
#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...
 

Function Documentation

GLUSAPI GLUSboolean GLUSAPIENTRY glusProgramPipelineBuild ( GLUSprogrampipeline programPipeline,
GLUSuint  vertexProgram,
GLUSuint  fragmentProgram 
)

Builds a program pipeline.

Parameters
programPipelineThis structure holds the necessary information of the program pipeline and the different shader programs.
vertexProgramVertex shader program.
fragmentProgramFragment shader program.
Returns
GLUS_TRUE, if building of program pipeline succeeded.
GLUSboolean GLUSAPIENTRY glusProgramPipelineBuildCompute ( GLUSprogrampipeline programPipeline,
GLUSuint  computeProgram 
)

Builds a compute shader program pipeline.

Parameters
programPipelineThis structure holds the necessary information of the program pipeline and the different shader programs.
computeProgramCompute shader program.
Returns
GLUS_TRUE, if building of program pipeline succeeded.
GLUSvoid GLUSAPIENTRY glusProgramPipelineDestroy ( GLUSprogrampipeline programPipeline)

Destroys a program pipeline by freeing the pipeline.

The programs are not freed.

Parameters
programPipelineThis structure holds the necessary information of the program pipeline and the different shader programs.