Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (24 sloc) 905 Bytes
// GLRenderbuffer.h
// CeedGL
// Created by Raphael Sebbe on 01/11/10.
// Copyright (c) 2010 Creaceed. All rights reserved.
#import <Foundation/Foundation.h>
#import <CeedGL/GLObject.h>
@interface GLRenderbuffer : GLObject {
GLenum mInternalFormat;
GLsizei mWidth, mHeight;
@property (readonly, nonatomic) GLenum internalFormat;
@property (readonly, nonatomic) GLsizei width, height;
@property (readonly, nonatomic) CGSize size; // same as width/height
+ (instancetype)renderbuffer;
- (void)setFromExistingHandle:(GLuint)handle width:(GLsizei)w height:(GLsizei)h internalFormat:(GLenum)iformat;
- (void)allocateStorageWithWidth:(GLsizei)w height:(GLsizei)h internalFormat:(GLenum)internalFormat ;
// Don't bind a renderbuffer to draw, just bind its associated framebuffer.
// Bind a renderbuffer to edit/query it with glRenderbuffer*
- (void)bind;
+ (void)unbind;
Jump to Line
Something went wrong with that request. Please try again.