| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final SWTexturePool |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long | estimateRTTextureSize(int width, int height, boolean hasDepth)
Implements com.
|
| public long | estimateTextureSize(int width, int height, PixelFormat format)
Implements com.
|
| private static long | |
| public long | size(SWTexture resource)
Implements com. The estimated size of the indicated resource. |
| private static long | |
| public long | used()
Overrides com. Implements com. The amount of a resource currently being used to hold any kind of resource, whether managed or not. |
| instance | back to summary |
|---|---|
| pack-priv static final SWTexturePool instance | |
| SWTexturePool | back to summary |
|---|---|
| private SWTexturePool() | |
| estimateRTTextureSize | back to summary |
|---|---|
| public long estimateRTTextureSize(int width, int height, boolean hasDepth) Implements com.
| |
| estimateTextureSize | back to summary |
|---|---|
| public long estimateTextureSize(int width, int height, PixelFormat format) Implements com.
| |
| maxVram | back to summary |
|---|---|
| private static long maxVram() | |
| size | back to summary |
|---|---|
| public long size(SWTexture resource) Implements com. Doc from com. The estimated size of the indicated resource.
| |
| targetVram | back to summary |
|---|---|
| private static long targetVram() | |
| used | back to summary |
|---|---|
| public long used() Overrides com. Implements com. Doc from com. The amount of a resource currently being used to hold any kind of resource, whether managed or not.
| |