dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
ShaderProgram.setParameter
Dgame
Graphic
ShaderProgram
ShaderProgram
Set between 1 and 4 parameter and binds them to variables of the Shaders
bool
setParameter
(
string
name
,
const
float
[]
values
...)
struct
ShaderProgram
@
nogc
bool
setParameter
const nothrow
(
string
name
,
const
float
[]
values
...
)
bool
setParameter
(
string
name
,
const
Vector2f
vec
)
bool
setParameter
(
string
name
,
const
Vector3f
vec
)
bool
setParameter
(
string
name
,
const
Color4b
color
)
bool
setParameter
(
string
name
,
ref
const
Matrix4x4
mat
)
Meta
Source
See Implementation
Dgame
Graphic
ShaderProgram
ShaderProgram
constructors
this
destructors
~this
functions
bind
link
setParameter
unbind
postblits
this(this)
properties
ID
Set between 1 and 4 parameter and binds them to variables of the Shaders