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 gaiasky.util.gdx.shader.Environment
shadowMapFields inherited from class gaiasky.util.gdx.shader.attribute.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 gaiasky.util.gdx.shader.Environment
add, add, add, add, add, add, remove, remove, remove, remove, remove, removeMethods inherited from class gaiasky.util.gdx.shader.attribute.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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface java.lang.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
-