Package com.jme3.shader
Class DefineList
java.lang.Object
com.jme3.shader.DefineList
The new define list.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
void
generateSource
(StringBuilder sb, List<String> defineNames, List<VarType> defineTypes) generateSource
(List<String> defineNames, List<VarType> defineTypes) boolean
getBoolean
(int id) float
getFloat
(int id) int
getInt
(int id) int
hashCode()
boolean
isSet
(int id) void
set
(int id, boolean val) void
set
(int id, float val) void
set
(int id, int val) void
void
setAll
(DefineList other) void
unset
(int id)
-
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
-
setAll
-
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() -
equals
-
deepClone
-
generateSource
-
generateSource
-