Interface Uniform4f
- All Known Implementing Classes:
ManagedUniform
public interface Uniform4f
-
Method Summary
-
Method Details
-
set
@API(status=MAINTAINED, since="1.4.0") void set(float value0, float value1, float value2, float value3) Sets the value of a uniform declared in json- Parameters:
value0- float valuevalue1- float valuevalue2- float valuevalue3- float value
-
set
@API(status=MAINTAINED, since="1.12.0") void set(org.joml.Vector4f value) Sets the value of a uniform declared in jsonThe vector's value is read once when this method is called. Further mutations to the vector will have no effect on this uniform's value.
- Parameters:
value- the vector of new values
-