CMGDK r49-rc2
名字空间 | 函数
K:/CMGDKv18/SDK/Source/Graphics/Texture/TexOther.h文件参考
#include <hgl/type/ColorType.H>

浏览该文件的源代码。

名字空间

namespace  hgl
 

__MAKE_HGL__&&!__MAKE_PLUGIN__


函数

void * hgl::LoadTexture (TDFNode *, uint &, int &, int &, ColorType &)
 从TDF加载一个贴图文件,并取得原始数据
void * hgl::LoadTexture (Stream *, uint &, int &, int &, ColorType &)
 从流加载一个贴图文件,并取得原始数据
void * hgl::LoadTexture (const wchar_t *, uint &, int &, int &, ColorType &)
 加载一个贴图文件,并取得原始数据
void * hgl::LoadTexture (HAC *, const wchar_t *, uint &, int &, int &, ColorType &)
 加载一个贴图文件,并取得原始数据
bool hgl::ConvertMonoLayerImageToTex1D (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float rate=1)
 转换一个单层图片到Tex1D
bool hgl::SaveBitmapToTEX (const wchar_t *, int, int, ColorType, void *, const wchar_t *ca=L"RLE", float rate=1)
 保存一个位图数据成TEX文件
bool hgl::ConvertImg2Tex (const wchar_t *, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float rate=1)
 转换一个图片到.TEX贴图文件
bool hgl::ConvertImg2CubeTex (const wchar_t **, const wchar_t *, ColorType=ctNone, const wchar_t *ca=L"RLE", float rate=1)
 转换一组图片到一个Cube贴图,供CubeMap或SkyBox使用
bool hgl::ConvertImg2Anime (int, const wchar_t **, const wchar_t *, ColorType ctNone, const wchar_t *ca=L"RLE", float rate=1)
 转换一组图片到一个Anime动画文件
uint8hgl::GetScreenData (int, int, int, int, ColorType, bool=false)
uint8hgl::GetScreenData (int, int, int, int, int, int, ColorType, bool=false)
bool hgl::SaveScreenToTEX (const wchar_t *, int, int, int, int, int, int, const wchar_t *ca=L"RLE", float rate=1)
 保存当前屏幕图像成TEX文件
bool hgl::SaveScreenToTEX (const wchar_t *, int, int, int, int, const wchar_t *ca=L"RLE", float rate=1)
 保存当前屏幕图像成TEX文件
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义