Skip to content

IRenderDevice.CreateContext method

Creates a context that draws into surface; throws NotSupportedException when the surface is not Renderable.

public IGraphicsContext CreateContext(IRenderSurface surface)