dgame ~master (2021-12-24T16:32:58.6490046)
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, float[] values)
struct
ShaderProgram
@
nogc
const nothrow
bool
setParameter
(
string
name
,
const
float
[]
values
...
)
bool
setParameter
(string name, Vector2f vec)
bool
setParameter
(string name, Vector3f vec)
bool
setParameter
(string name, Color4b color)
bool
setParameter
(string name, 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