GLData.m 671 Bytes
Newer Older
1 2 3 4 5 6 7 8
#import "GLData.h"

@implementation GLData

-(instancetype)initWithShader: (NSNumber *)shader
                 withUniforms: (NSDictionary *)uniforms
                    withWidth: (NSNumber *)width
                   withHeight: (NSNumber *)height
9 10
                    withFboId: (NSNumber *)fboId
          withContextChildren: (NSArray *)contextChildren
11 12 13 14 15 16 17
                 withChildren: (NSArray *)children
{
  if ((self = [super init])) {
    self.shader = shader;
    self.uniforms = uniforms;
    self.width = width;
    self.height = height;
18 19
    self.fboId = fboId;
    self.contextChildren = contextChildren;
20 21 22 23 24 25
    self.children = children;
  }
  return self;
}

@end