Edit

Share via


iPhoneOSGameView.DestroyFrameBuffer Method

Definition

Destroys the framebuffer, renderbuffer, EAGLContext, and GraphicsContext.

protected virtual void DestroyFrameBuffer();
abstract member DestroyFrameBuffer : unit -> unit
override this.DestroyFrameBuffer : unit -> unit

Exceptions

The instance has had Dispose(Boolean) invoked on it.

Remarks

This method is invoked by: Dispose(Boolean), LayoutSubviews(), and OnUnload(EventArgs).

<block subset="none" type="overrides"> Override this method if you override CreateFrameBuffer() and add additional buffers that need to be properly disposed of (e.g. a depth buffer). </block>

Applies to