Window.setShader

Sets the GLSL shader, see the GL backend docs

struct Window
nothrow @nogc @trusted
void
setShader
(
in string vertexShader
,
in string fragmentShader
,
in string transformAttributeName = "transform"
,
in string positionAttributeName = "position"
,
in string texPositionAttributeName = "tex_coord"
,
in string colorAttributeName = "color"
,
in string textureAttributeName = "tex"
,
in string colorOutputName = "outColor"
)

Meta