Interface Uniform4f

All Known Implementing Classes:
ManagedUniform

public interface Uniform4f
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(float value0, float value1, float value2, float value3)
    Sets the value of a uniform declared in json
    void
    set(org.joml.Vector4f value)
    Sets the value of a uniform declared in json
  • 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 value
      value1 - float value
      value2 - float value
      value3 - float value
    • set

      @API(status=MAINTAINED, since="1.12.0") void set(org.joml.Vector4f value)
      Sets the value of a uniform declared in json

      The 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