MaxstARSDK
ShaderUtil Class Reference

Shader compile utility. More...

#include <ShaderUtil.h>

Collaboration diagram for ShaderUtil:
Collaboration graph

Static Public Member Functions

static unsigned int createProgram (const char *vertexString, const char *fragmentString)
 
static unsigned int loadShader (unsigned int shaderType, const char *pSource)
 
static void checkGlError (const char *op)
 

Detailed Description

Shader compile utility.

Member Function Documentation

◆ checkGlError()

static void ShaderUtil::checkGlError ( const char *  op)
inlinestatic
Here is the caller graph for this function:

◆ createProgram()

static unsigned int ShaderUtil::createProgram ( const char *  vertexString,
const char *  fragmentString 
)
inlinestatic
Here is the call graph for this function:

◆ loadShader()

static unsigned int ShaderUtil::loadShader ( unsigned int  shaderType,
const char *  pSource 
)
inlinestatic
Here is the caller graph for this function:

The documentation for this class was generated from the following file: