IRenderer.setShader

Memorize the shader for future reference.

interface IRenderer
@safe @safe
void
setShader
(
string name
,
Shader!Program program
)

Parameters

name string

The name of the shader by which it will be possible to pick up the shader in the future.

program Shader!Program

Shader program.

Meta