public class D3DTextureData extends D3DResource.D3DRecord
Modifier and Type | Field and Description |
---|---|
private boolean |
isRTT |
private int |
samples |
private long |
size |
Constructor and Description |
---|
D3DTextureData(D3DContext context,
long pResource,
boolean isRTT,
int physicalWidth,
int physicalHeight,
PixelFormat format,
int numberOfSamples) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
(package private) static long |
estimateRTSize(int physicalWidth,
int physicalHeight,
boolean hasDepth) |
(package private) static long |
estimateSize(int physicalWidth,
int physicalHeight,
PixelFormat format) |
(package private) int |
getSamples() |
(package private) long |
getSize() |
protected void |
markDisposed() |
getContext, getResource, isDefaultPool
private final long size
private final boolean isRTT
private final int samples
D3DTextureData(D3DContext context, long pResource, boolean isRTT, int physicalWidth, int physicalHeight, PixelFormat format, int numberOfSamples)
static long estimateSize(int physicalWidth, int physicalHeight, PixelFormat format)
static long estimateRTSize(int physicalWidth, int physicalHeight, boolean hasDepth)
int getSamples()
long getSize()
protected void markDisposed()
markDisposed
in class D3DResource.D3DRecord
public void dispose()
dispose
in interface Disposer.Record
dispose
in class D3DResource.D3DRecord