GLEssentials/Source/Classes/OpenGLRenderer.h
/* |
Copyright (C) 2015 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The OpenGLRenderer class creates and draws objects. |
Most of the code is OS independent. |
*/ |
#include "glUtil.h" |
#import <Foundation/Foundation.h> |
@interface OpenGLRenderer : NSObject |
@property (nonatomic) GLuint defaultFBOName; |
- (instancetype) initWithDefaultFBO: (GLuint) defaultFBOName; |
- (void) resizeWithWidth:(GLuint)width AndHeight:(GLuint)height; |
- (void) render; |
- (void) dealloc; |
@end |
Copyright © 2015 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2015-08-07