#include <BuddhaTexture2D.h>
Public Member Functions | ||||
Texture2D (GraphicsDevice *device, int width, int height, int numberLevels, DWORD usage, D3DFORMAT format) | ||||
非初期化テクスチャを作成するコンストラクタ | ||||
int | GetWidth (void) const | |||
幅を取得 | ||||
int | GetHeight (void) const | |||
高さを取得 | ||||
int | GetLevelCount (void) | |||
マルチレベルテクスチャのテクスチャレベルの数を取得 | ||||
int | GetLevelOfDetail (void) | |||
テクスチャに設定されている最大詳細レベル (LOD) 制限を取得 | ||||
Static Public Member Functions | ||||
static Texture2DPtr | FromFile (GraphicsDevice *device, LPCWSTR filePath) | |||
filePath のテクスチャファイルをロードする
| ||||
static Texture2DPtr | FromFile (GraphicsDevice *device, const String &filePath) | |||
filePath のテクスチャファイルをロードする
| ||||
static Texture2D * | CreateDummy (GraphicsDevice *device) | |||
幅1高さ1のダミーテクスチャを作成します |
BuddhaLib::Texture2D::Texture2D | ( | GraphicsDevice * | device, | |
int | width, | |||
int | height, | |||
int | numberLevels, | |||
DWORD | usage, | |||
D3DFORMAT | format | |||
) |