class ES2VramPool extends BaseResourcePool<ES2TextureData> implements TextureResourcePool<ES2TextureData>
| Modifier and Type | Field and Description |
|---|---|
(package private) static ES2VramPool |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
ES2VramPool() |
| Modifier and Type | Method and Description |
|---|---|
long |
estimateRTTextureSize(int width,
int height,
boolean hasDepth) |
long |
estimateTextureSize(int width,
int height,
PixelFormat format) |
long |
size(ES2TextureData resource)
The estimated size of the indicated resource.
|
java.lang.String |
toString() |
cleanup, freeDisposalRequestedAndCheckResources, isManagerThread, managed, max, origTarget, prepareForAllocation, printSummary, recordAllocated, recordFree, resourceFreed, resourceManaged, setTarget, target, usedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfreeDisposalRequestedAndCheckResources, isManagerThread, managed, max, origTarget, prepareForAllocation, recordAllocated, recordFree, resourceFreed, resourceManaged, setTarget, target, usedstatic ES2VramPool instance
public long estimateTextureSize(int width,
int height,
PixelFormat format)
estimateTextureSize in interface TextureResourcePool<ES2TextureData>public long estimateRTTextureSize(int width,
int height,
boolean hasDepth)
estimateRTTextureSize in interface TextureResourcePool<ES2TextureData>public long size(ES2TextureData resource)
ResourcePoolsize in interface ResourcePool<ES2TextureData>resource - the resource to be measuredpublic java.lang.String toString()
toString in class java.lang.Object