GLUS
Data Structures | Typedefs | Functions
glus_programpipeline.h File Reference

Go to the source code of this file.

Data Structures

struct  _GLUSprogrampipeline
 Structure for program pipeline handling. More...
 

Typedefs

typedef struct _GLUSprogrampipeline GLUSprogrampipeline
 Structure for program pipeline handling. More...
 

Functions

GLUSAPI GLUSboolean GLUSAPIENTRY glusProgramPipelineBuild (GLUSprogrampipeline *programPipeline, GLUSuint vertexProgram, GLUSuint controlProgram, GLUSuint evaluationProgram, GLUSuint geometryProgram, GLUSuint fragmentProgram)
 Builds a program pipeline. More...
 
GLUSAPI GLUSboolean GLUSAPIENTRY glusProgramPipelineBuildCompute (GLUSprogrampipeline *programPipeline, GLUSuint computeProgram)
 Builds a compute shader program pipeline. More...
 
GLUSAPI GLUSvoid GLUSAPIENTRY glusProgramPipelineDestroy (GLUSprogrampipeline *programPipeline)
 Destroys a program pipeline by freeing the pipeline. More...
 

Typedef Documentation

Structure for program pipeline handling.

Function Documentation

GLUSAPI GLUSboolean GLUSAPIENTRY glusProgramPipelineBuild ( GLUSprogrampipeline programPipeline,
GLUSuint  vertexProgram,
GLUSuint  controlProgram,
GLUSuint  evaluationProgram,
GLUSuint  geometryProgram,
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.
controlProgramTessellation control shader program.
evaluationProgramTessellation evaluation shader program.
geometryProgramGeometry shader program.
fragmentProgramFragment shader program.
Returns
GLUS_TRUE, if building of program pipeline succeeded.
GLUSAPI 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.
GLUSAPI 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.