class D3DVramPool extends BaseResourcePool<D3DTextureData> implements TextureResourcePool<D3DTextureData>
| Modifier and Type | Field and Description |
|---|---|
static D3DVramPool |
instance |
| Modifier | Constructor and Description |
|---|---|
private |
D3DVramPool() |
| Modifier and Type | Method and Description |
|---|---|
long |
estimateRTTextureSize(int width,
int height,
boolean hasDepth) |
long |
estimateTextureSize(int width,
int height,
PixelFormat format) |
long |
size(D3DTextureData 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, usedpublic static final D3DVramPool instance
public long size(D3DTextureData resource)
ResourcePoolsize in interface ResourcePool<D3DTextureData>resource - the resource to be measuredpublic long estimateTextureSize(int width,
int height,
PixelFormat format)
estimateTextureSize in interface TextureResourcePool<D3DTextureData>public long estimateRTTextureSize(int width,
int height,
boolean hasDepth)
estimateRTTextureSize in interface TextureResourcePool<D3DTextureData>public java.lang.String toString()
toString in class java.lang.Object