Class DefineList

java.lang.Object
com.jme3.shader.DefineList

public final class DefineList extends Object
The new define list.
  • Field Details

  • Constructor Details

    • DefineList

      public DefineList(int numValues)
  • Method Details

    • isSet

      public boolean isSet(int id)
    • unset

      public void unset(int id)
    • set

      public void set(int id, int val)
    • set

      public void set(int id, float val)
    • set

      public void set(int id, boolean val)
    • set

      public void set(int id, VarType type, Object value)
    • setAll

      public void setAll(DefineList other)
    • clear

      public void clear()
    • getBoolean

      public boolean getBoolean(int id)
    • getFloat

      public float getFloat(int id)
    • getInt

      public int getInt(int id)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • deepClone

      public DefineList deepClone()
    • generateSource

      public void generateSource(StringBuilder sb, List<String> defineNames, List<VarType> defineTypes)
    • generateSource

      public String generateSource(List<String> defineNames, List<VarType> defineTypes)