Skip to content

IGraphicsFactory.CreateContext method

Creates a graphics context for the specified render target. The returned context is not yet started; call BeginFrame before drawing.

public IGraphicsContext CreateContext(IRenderTarget target)
parameter description
target The render target to draw to.

A new graphics context.