dgt ~master (2017-09-21T16:04:46Z)
Dub
Repo
Window.setShader
dgt
window
Window
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
Source
See Implementation
dgt
window
Window
constructors
this
functions
addParticleBurst
begin
close
draw
end
isKeyDown
setShader
setTransform
wasKeyDown
properties
mouse
static functions
getInstance
variables
aspectRatio
fps
inUIMode
Sets the GLSL shader, see the GL backend docs