Table of Contents

Interface IShaderProgramFactory

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

Creates shader programs from source code.

public interface IShaderProgramFactory

Methods

Create(string, string)

Creates a program from the source of its vertex stage, vertexSource, and its fragment stage, fragmentSource.

IShaderProgram Create(string vertexSource, string fragmentSource)

Parameters

vertexSource string
fragmentSource string

Returns

IShaderProgram