GlesContext Class

Definition

A GlesContext object manages an ANGLE OpenGL ES rendering context.

public class GlesContext : IDisposable
Inheritance
GlesContext
Implements

Constructors

GlesContext()

Creates a new GlesContext instance.

Properties

CurrentContext

Gets or sets the current ANGLE OpenGL ES rendering context.

HasValidSurface

Gets a value indicating whether the current context has a valid rending surface.

Methods

Dispose()

Releases all resources used by this GlesContext.

Reset()

Resets the current context, and reinitializes it.

SetSurface(SwapChainPanel, Int32, Int32, GlesBackingOption, GlesMultisampling, GlesRenderTarget)

Specifies that the current context should use the specified swap chain panel for the drawing surface.

SetViewportSize(Int32, Int32)

Sets the current viewport to the specified dimensions.

SwapBuffers(GlesRenderTarget, Int32, Int32)

Swaps the buffers, displaying the renderbuffer's contents on screen.

Applies to