Click or drag to resize

Renderbuffer.DisposeHandle Method

Deletes the renderbuffer.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected override void DisposeHandle()
Remarks
After a renderbuffer object is deleted, it has no contents, and its name is free for reuse.

If a renderbuffer object that is currently bound is deleted, the binding reverts to 0 (the absence of any renderbuffer object). Additionally, special care must be taken when deleting a renderbuffer object if the image of the renderbuffer is attached to a framebuffer object. In this case, if the deleted renderbuffer object is attached to the currently bound framebuffer object, it is automatically detached. However, attachments to any other framebuffer objects are the responsibility of the application.

OpenGL API: glDeleteRenderbuffers

See Also