Package com.prineside.tdi2.utils
Class SpriteCacheExtended.CacheArray
java.lang.Object
com.prineside.tdi2.utils.SpriteCacheExtended.CacheArray
- All Implemented Interfaces:
 Disposable
- Enclosing class:
 - SpriteCacheExtended
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionCacheArray(String name, int sizePerCache, ShaderProgram shaderProgram, boolean useIndices)  - 
Method Summary
 
- 
Field Details
- 
dirty
public boolean dirty 
 - 
 - 
Constructor Details
- 
CacheArray
 
 - 
 - 
Method Details
- 
getSizePerCache
public int getSizePerCache() - 
isUseIndices
public boolean isUseIndices() - 
getShaderProgram
 - 
start
 - 
end
public void end() - 
swapCachesIfFull
- Returns:
 - new cache to draw on if current one is full, otherwise returns the current one
 
 - 
getPreparedCaches
 - 
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
 disposein interfaceDisposable
 
 -