Shader.setParameter
- void setParameter(const(char)[] name, float x)
- void setParameter(const(char)[] name, float x, float y)
- void setParameter(const(char)[] name, float x, float y, float z)
- void setParameter(const(char)[] name, float x, float y, float z, float w)
- void setParameter(const(char)[] name, Vector2f vector)
- void setParameter(const(char)[] name, Vector3f vector)
- void setParameter(const(char)[] name, Color color)
- void setParameter(const(char)[] name, Transform transform)
- void setParameter(const(char)[] name, const(Texture) texture)
- void setParameter(const(char)[] name, CurrentTextureType currentTexture)
class Shader
deprecated
void
setParameter
dsfml graphics shader Shader
constructorsdestructorsenumsfunctionsstatic functionsstatic variablesstructsvariables
Change a texture parameter of the shader.
This overload maps a shader texture variable to the texture of the object being drawn, which cannot be known in advance. The second argument must be Shader.CurrentTexture.