-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGLPProgram+LinkedProgram.h
More file actions
15 lines (8 loc) · 896 Bytes
/
Copy pathGLPProgram+LinkedProgram.h
File metadata and controls
15 lines (8 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import "GLPProgram.h"
@class GLPShader;
@interface GLPProgram (LinkedProgram)
+ (instancetype)linkedProgramWithVertexShaderSource:(NSString *)vertexShaderSource fragmentShaderSource:(NSString *)fragmentShaderSource attributes:(NSDictionary *)attributes error:(NSError **)error;
+ (instancetype)linkedProgramWithVertexShaderFile:(NSString *)vertexShaderFile fragmentShaderFile:(NSString *)fragmentShaderFile attributes:(NSDictionary *)attributes error:(NSError **)error;
+ (instancetype)linkedProgramWithVertexShaderResource:(NSString *)vertexShaderResource fragementShaderResource:(NSString *)fragmentShaderResource bundle:(NSBundle *)bundle attributes:(NSDictionary *)attributes error:(NSError **)error;
+ (instancetype)linkedProgramWithVertexShader:(GLPShader *)vertexShader fragmentShader:(GLPShader *)fragmentShader attributes:(NSDictionary *)attributes error:(NSError **)error;
@end