Table of Contents

Class ShaderPrograms

Namespace
Lime
Assembly
Lime.dll
public class ShaderPrograms
Inheritance
ShaderPrograms
Inherited Members

Fields

Instance

public static ShaderPrograms Instance

Field Value

ShaderPrograms

Methods

GetSamplers()

public static IEnumerable<ShaderProgram.Sampler> GetSamplers()

Returns

IEnumerable<ShaderProgram.Sampler>

GetShaderProgram(ShaderId, ITexture, ITexture, ShaderOptions)

public ShaderProgram GetShaderProgram(ShaderId shader, ITexture texture1, ITexture texture2, ShaderOptions options)

Parameters

shader ShaderId
texture1 ITexture
texture2 ITexture
options ShaderOptions

Returns

ShaderProgram

GetShaderProgram(ShaderId, int, ShaderOptions)

public ShaderProgram GetShaderProgram(ShaderId shader, int numTextures, ShaderOptions options)

Parameters

shader ShaderId
numTextures int
options ShaderOptions

Returns

ShaderProgram