public interface TextureResourcePool<T> extends ResourcePool<T>
ResourcePool that manages memory for textures.
This interface only adds a couple of methods for computing
the size of a potential new texture allocation.| Modifier and Type | Method and Description |
|---|---|
long |
estimateRTTextureSize(int width,
int height,
boolean hasDepth) |
long |
estimateTextureSize(int width,
int height,
PixelFormat format) |
freeDisposalRequestedAndCheckResources, isManagerThread, managed, max, origTarget, prepareForAllocation, recordAllocated, recordFree, resourceFreed, resourceManaged, setTarget, size, target, usedlong estimateTextureSize(int width,
int height,
PixelFormat format)
long estimateRTTextureSize(int width,
int height,
boolean hasDepth)