#include <Texture.h>
Public Member Functions | |
Texture () | |
Texture (System::String^ path, System::Guid guid, int type) | |
Texture (kmyGfx::Texture *t) | |
void | Release () |
void | Delete () |
int | getWidth () |
int | getHeight () |
int | getStoredWidth () |
int | getStoredHeight () |
void | setMagFilter (TEXTUREFILTER f) |
void | setMinFilter (TEXTUREFILTER f) |
void | setWrap (WRAPTYPE f) |
void | setUWrap (WRAPTYPE f) |
void | setVWrap (WRAPTYPE f) |
void | setWWrap (WRAPTYPE f) |
void | setAnisotropy (float v) |
void | setType (int type) |
void | setUsage (TEXTUREUSAGE usage) |
void | setCompress (bool flg) |
void | renamePath (System::String^ path) |
void | create (int width, int height, bool srgb, int miplevel) |
void | create (int width, int height, TEXTUREFFORMAT format, int miplevel) |
void | enableWrite () |
void | apply () |
void | storeSubPixel2DDelay (int x, int y, int w, int h, array< UINT32 >^ list, TEXTUREFFORMAT format, int sx, int sy, int swidth, int level) |
void | copyTexture2DDelay (int dx, int dy, int dw, int dh, int dlevel, int sx, int sy, int slevel, Texture^ src) |
void | storeSubPixel2D (int x, int y, int w, int h, array< UINT32 >^ list, TEXTUREFFORMAT format, int sx, int sy, int swidth, int level) |
void | storeSubPixel2D (int x, int y, int w, int h, u8 *list, TEXTUREFFORMAT format, int level) |
void | getColor ([System::Runtime::InteropServices::Out] array< UINT32 >^% list, int level) |
System::String | getFileName () |
System::String | getFilePath () |
System::Guid | getGuid () |
void | setGuid (System::Guid id) |
bool | isSrgb () |
void | setSrgb (bool b) |
void | setGenMipmap (bool flg) |
void | addRef () |
void | removeRef () |
void | reloadIfLoaded () |
int | getRef () |
void | saveNativeTexture (System::String^ path) |
void | setNativeTexturePath (System::String^ path) |
Static Public Member Functions | |
static void | getColor (System::String^ name, [System::Runtime::InteropServices::Out] array< UINT32 >^% list, int% width, int% height) |
static Texture | load (System::String^ path, bool srgb, TEXTURESHAPE shape, TEXTUREUSAGE usage) |
static Texture | load (System::IO::Stream^ stream, bool srgb, bool genmipmap, TEXTURESHAPE shape, TEXTUREUSAGE usage) |
static array< System::String^> | getLoadableFileList (System::String^ path) |
static int | getMaxTexture2DSize () |
static void | pushFindTextureBaseDirectory (String^ path) |
static void | popFindTextureBaseDirectory () |
static int | getTextureStoreJobSerial () |
static bool | textureStoreJobFinished (int serial) |
static void | textureStoreJobDispatchAll () |
Public Attributes | |
kmyGfx::Texture * | obj |
bool | ownImage |
System::String | loadpath |
SharpKmyGfx::Texture::Texture | ( | ) |
SharpKmyGfx::Texture::Texture | ( | System::String^ | path, |
System::Guid | guid, | ||
int | type | ||
) |
SharpKmyGfx::Texture::Texture | ( | kmyGfx::Texture * | t | ) |
void SharpKmyGfx::Texture::addRef | ( | ) |
void SharpKmyGfx::Texture::apply | ( | ) |
void SharpKmyGfx::Texture::copyTexture2DDelay | ( | int | dx, |
int | dy, | ||
int | dw, | ||
int | dh, | ||
int | dlevel, | ||
int | sx, | ||
int | sy, | ||
int | slevel, | ||
Texture^ | src | ||
) |
void SharpKmyGfx::Texture::create | ( | int | width, |
int | height, | ||
bool | srgb, | ||
int | miplevel | ||
) |
void SharpKmyGfx::Texture::create | ( | int | width, |
int | height, | ||
TEXTUREFFORMAT | format, | ||
int | miplevel | ||
) |
void SharpKmyGfx::Texture::Delete | ( | ) |
void SharpKmyGfx::Texture::enableWrite | ( | ) |
void SharpKmyGfx::Texture::getColor | ( | [System::Runtime::InteropServices::Out] array< UINT32 >^% | list, |
int | level | ||
) |
|
static |
System::String SharpKmyGfx::Texture::getFileName | ( | ) |
System::String SharpKmyGfx::Texture::getFilePath | ( | ) |
System::Guid SharpKmyGfx::Texture::getGuid | ( | ) |
int SharpKmyGfx::Texture::getHeight | ( | ) |
|
static |
|
static |
int SharpKmyGfx::Texture::getRef | ( | ) |
int SharpKmyGfx::Texture::getStoredHeight | ( | ) |
int SharpKmyGfx::Texture::getStoredWidth | ( | ) |
|
static |
int SharpKmyGfx::Texture::getWidth | ( | ) |
bool SharpKmyGfx::Texture::isSrgb | ( | ) |
|
static |
|
static |
|
static |
|
static |
void SharpKmyGfx::Texture::Release | ( | ) |
void SharpKmyGfx::Texture::reloadIfLoaded | ( | ) |
void SharpKmyGfx::Texture::removeRef | ( | ) |
void SharpKmyGfx::Texture::renamePath | ( | System::String^ | path | ) |
void SharpKmyGfx::Texture::saveNativeTexture | ( | System::String^ | path | ) |
void SharpKmyGfx::Texture::setAnisotropy | ( | float | v | ) |
void SharpKmyGfx::Texture::setCompress | ( | bool | flg | ) |
void SharpKmyGfx::Texture::setGenMipmap | ( | bool | flg | ) |
void SharpKmyGfx::Texture::setGuid | ( | System::Guid | id | ) |
void SharpKmyGfx::Texture::setMagFilter | ( | TEXTUREFILTER | f | ) |
void SharpKmyGfx::Texture::setMinFilter | ( | TEXTUREFILTER | f | ) |
void SharpKmyGfx::Texture::setNativeTexturePath | ( | System::String^ | path | ) |
void SharpKmyGfx::Texture::setSrgb | ( | bool | b | ) |
void SharpKmyGfx::Texture::setType | ( | int | type | ) |
void SharpKmyGfx::Texture::setUsage | ( | TEXTUREUSAGE | usage | ) |
void SharpKmyGfx::Texture::setUWrap | ( | WRAPTYPE | f | ) |
void SharpKmyGfx::Texture::setVWrap | ( | WRAPTYPE | f | ) |
void SharpKmyGfx::Texture::setWrap | ( | WRAPTYPE | f | ) |
void SharpKmyGfx::Texture::setWWrap | ( | WRAPTYPE | f | ) |
void SharpKmyGfx::Texture::storeSubPixel2D | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
array< UINT32 >^ | list, | ||
TEXTUREFFORMAT | format, | ||
int | sx, | ||
int | sy, | ||
int | swidth, | ||
int | level | ||
) |
void SharpKmyGfx::Texture::storeSubPixel2D | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
u8 * | list, | ||
TEXTUREFFORMAT | format, | ||
int | level | ||
) |
void SharpKmyGfx::Texture::storeSubPixel2DDelay | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
array< UINT32 >^ | list, | ||
TEXTUREFFORMAT | format, | ||
int | sx, | ||
int | sy, | ||
int | swidth, | ||
int | level | ||
) |
|
static |
|
static |
System::String SharpKmyGfx::Texture::loadpath |
kmyGfx::Texture* SharpKmyGfx::Texture::obj |
bool SharpKmyGfx::Texture::ownImage |