Skip to main content
Version: 1.0.0-preview.36

Velaptor.Factories.RendererFactory

Velaptor

Velaptor.Factories

RendererFactory Class

Creates renderers for rendering different types of graphics.

public static class RendererFactory

Inheritance System.Object → RendererFactory

Methods

CreateBatcher()

Creates an instance of IBatcher to start and stop batching.

public static Velaptor.Batching.IBatcher CreateBatcher();

Returns

IBatcher
The batcher instance.

CreateFontRenderer()

Creates an instance of the IFontRenderer.

public static Velaptor.Graphics.Renderers.IFontRenderer CreateFontRenderer();

Returns

IFontRenderer
The font renderer.

CreateLineRenderer()

Creates an instance of the ILineRenderer.

public static Velaptor.Graphics.Renderers.ILineRenderer CreateLineRenderer();

Returns

ILineRenderer
The line renderer.

CreateShapeRenderer()

Creates an instance of the IShapeRenderer.

public static Velaptor.Graphics.Renderers.IShapeRenderer CreateShapeRenderer();

Returns

IShapeRenderer
The rectangle renderer.

CreateTextureRenderer()

Creates an instance of the ITextureRenderer.

public static Velaptor.Graphics.Renderers.ITextureRenderer CreateTextureRenderer();

Returns

ITextureRenderer
The texture renderer.