Shader.opIndexAssign
- void opIndexAssign(float x, const(char)[] name)
- void opIndexAssign(ref const(Vec2) vector, const(char)[] name)
- void opIndexAssign(ref const(Vec3) vector, const(char)[] name)
- void opIndexAssign(ref const(Vec4) vector, const(char)[] name)
- void opIndexAssign(int x, const(char)[] name)
- void opIndexAssign(ref const(Ivec2) vector, const(char)[] name)
- void opIndexAssign(ref const(Ivec3) vector, const(char)[] name)
- void opIndexAssign(ref const(Ivec4) vector, const(char)[] name)
- void opIndexAssign(bool x, const(char)[] name)
- void opIndexAssign(ref const(Bvec2) vector, const(char)[] name)
- void opIndexAssign(ref const(Bvec3) vector, const(char)[] name)
- void opIndexAssign(ref const(Bvec4) vector, const(char)[] name)
- void opIndexAssign(ref const(Mat3) matrix, const(char)[] name)
- void opIndexAssign(ref const(Mat4) matrix, const(char)[] name)
- void opIndexAssign(const(Texture) texture, const(char)[] name)
- void opIndexAssign(CurrentTextureType, const(char)[] name)
- void opIndexAssign(const(float)[] scalars, const(char)[] name)
- void opIndexAssign(const(Vec2)[] vectors, const(char)[] name)
- void opIndexAssign(const(Vec3)[] vectors, const(char)[] name)
- void opIndexAssign(const(Vec4)[] vectors, const(char)[] name)
- void opIndexAssign(const(Mat3)[] matrices, const(char)[] name)
- void opIndexAssign(const(Mat4)[] matrices, const(char)[] name)
- void opIndexAssign(Color color, const(char)[] name)
- void opIndexAssign(Transform transform, const(char)[] name)
- void setUniform(const(char)[] name, CurrentTextureType)
dsfmlgraphicsshaderShader
constructorsdestructorsenumsfunctionsstatic functionsstatic variablesstructs
Specify current texture as sampler2D uniform.
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 CurrentTexture. The corresponding parameter in the shader must be a 2D texture (sampler2D GLSL type).