Table of Contents

Interface IShapeBatchRendererFactory

Namespace
BSGameLib.Game.Rendering
Assembly
BSGameLib.Game.dll

Creates shape batches.

public interface IShapeBatchRendererFactory

Methods

Create(IShaderProgram, Matrix4x4)

Creates a shape batch that draws with shader and projectionMatrix.

IShapeBatchRenderer Create(IShaderProgram shader, Matrix4x4 projectionMatrix)

Parameters

shader IShaderProgram
projectionMatrix Matrix4x4

Returns

IShapeBatchRenderer