public class TSRTexture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
TSRTexture() |
protected |
TSRTexture(long cPtr,
boolean cMemoryOwn) |
|
TSRTexture(java.lang.String _pFilename) |
Modifier and Type | Method and Description |
---|---|
void |
copyToTexture(TSRTexture _pDest) |
void |
create(int _uiWidth,
int _uiHeight,
int _uiMipCount,
int _format,
java.nio.ByteBuffer _pcData,
boolean _bGenerateMips) |
void |
create(java.lang.String _pFilename) |
void |
delete() |
void |
fillPixelData(int _uiWidth,
int _uiHeight,
int _eTextureFormat,
long _pvData) |
protected void |
finalize() |
protected static long |
getCPtr(TSRTexture obj) |
int |
getFormat() |
long |
getHeight() |
SWIGTYPE_p_TSRTextureInfo |
getInfo() |
long |
getWidth() |
boolean |
isLoaded() |
void |
readPixels(int _iX,
int _iY,
int _iWidth,
int _iHeight,
int _format,
long _pDest) |
void |
setSamplerState(TSRSamplerState _pSamplerState) |
protected TSRTexture(long cPtr, boolean cMemoryOwn)
public TSRTexture()
public TSRTexture(java.lang.String _pFilename)
protected static long getCPtr(TSRTexture obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void create(java.lang.String _pFilename)
public void create(int _uiWidth, int _uiHeight, int _uiMipCount, int _format, java.nio.ByteBuffer _pcData, boolean _bGenerateMips)
public long getWidth()
public long getHeight()
public int getFormat()
public SWIGTYPE_p_TSRTextureInfo getInfo()
public boolean isLoaded()
public void fillPixelData(int _uiWidth, int _uiHeight, int _eTextureFormat, long _pvData)
public void readPixels(int _iX, int _iY, int _iWidth, int _iHeight, int _format, long _pDest)
public void copyToTexture(TSRTexture _pDest)
public void setSamplerState(TSRSamplerState _pSamplerState)