presentRenderbuffer(_:)
Displays a renderbuffer’s contents on screen.
Declaration
func presentRenderbuffer(_ target: Int) -> BoolParameters
- target:
The OpenGL ES binding point for a currently bound renderbuffer. The value of this parameter must be
GL_RENDERBUFFER(orGL_RENDERBUFFER_OESin an OpenGL ES 1.1 context).
Return Value
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.