MaxstARSDK
MasShaderUtil Class Reference

Shader compile utility. More...

#import <MasShaderUtil.h>

Inheritance diagram for MasShaderUtil:
Inheritance graph
Collaboration diagram for MasShaderUtil:
Collaboration graph

Class Methods

(unsigned int) + createProgram:fragment:
 
(unsigned int) + loadShader:source:
 
(void) + checkGlError:
 

Detailed Description

Shader compile utility.

Method Documentation

◆ checkGlError:

+ (void) checkGlError: (NSString *)  op

◆ createProgram:fragment:

+ (unsigned int) createProgram: (NSString *)  vertexString
fragment: (NSString *)  fragmentString 

◆ loadShader:source:

+ (unsigned int) loadShader: (unsigned int)  shaderType
source: (NSString *)  pSource 

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