Instance Method

presentRenderbuffer:

Displays a renderbuffer’s contents on screen.

Declaration

- (BOOL)presentRenderbuffer:(NSUInteger)target;

Parameters

target

The OpenGL ES binding point for a currently bound renderbuffer. The value of this parameter must be GL_RENDERBUFFER (or GL_RENDERBUFFER_OES in an OpenGL ES 1.1 context).

Return Value

YES if successful; otherwise, NO.

Discussion

The renderbuffer to be displayed must have been allocated storage using the renderbufferStorage:fromDrawable: method. The exact semantics for how and when the renderbuffer contents are displayed is controlled by the drawable object.

See Also