Instance Method

presentRenderbuffer(_:)

Displays a renderbuffer’s contents on screen.

Declaration

func presentRenderbuffer(_ target: Int) -> Bool

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

true if successful; otherwise, false.

Discussion

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

See Also