Class EnvironmentCache
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attributes
gaiasky.util.gdx.shader.Environment
gaiasky.util.gdx.model.gltf.scene3d.utils.EnvironmentCache
- All Implemented Interfaces:
Comparable<Attributes>, Iterable<Attribute>, Comparator<Attribute>
-
Field Summary
Fields inherited from class Environment
shadowMapFields inherited from class Attributes
attributes, mask, sorted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreplaceCache(Attribute attribute) fast way to replace an attribute without sortingvoidsetCache(Environment env) fast way to copy only referencesMethods inherited from class Environment
add, add, add, add, add, add, remove, remove, remove, remove, remove, removeMethods inherited from class Attributes
attributesHash, clear, compare, compareTo, equals, get, get, getMask, has, has, hashCode, indexOf, iterator, remove, remove, same, same, set, set, set, set, set, set, size, sortMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
EnvironmentCache
public EnvironmentCache()
-
-
Method Details
-
setCache
fast way to copy only references -
replaceCache
fast way to replace an attribute without sorting
-