#include <MayaTexture.h>
Public Member Functions | |
virtual bool | load () |
テクスチャのロード | |
virtual bool | bind () |
テクスチャのバインド | |
virtual const String & | getName () const |
名前の取得 | |
virtual u_int | getWidth (int level=0) const |
幅の取得 | |
virtual u_int | getHeight (int level=0) const |
高さの取得 | |
Protected Member Functions | |
MayaTexture (const MObject &node, const String &name) | |
コンストラクタ | |
virtual | ~MayaTexture () |
デストラクタ | |
virtual void | clear () |
クリア | |
u_int | highestPowerOf2 (u_int number) const |
最大の2の累乗を求める | |
Friends | |
class | MayaTextureManager |
Definition at line 34 of file MayaTexture.h.
|
コンストラクタ
Definition at line 34 of file MayaTexture.cpp. References MayaOpenGLCheck, and MayaStatusCheck. |
|
テクスチャのバインド
Definition at line 136 of file MayaTexture.cpp. References load(), and MayaOpenGLCheck. Referenced by LampForMaya::MayaTextureManager::bind(). |
|
高さの取得
Definition at line 71 of file MayaTexture.h. Referenced by load(). |
|
名前の取得
Definition at line 53 of file MayaTexture.h. Referenced by LampForMaya::MayaTextureManager::addDatabase(), and LampForMaya::MayaTextureManager::removeDatabase(). |
|
幅の取得
Definition at line 60 of file MayaTexture.h. Referenced by load(). |
|
最大の2の累乗を求める
Definition at line 100 of file MayaTexture.h. Referenced by load(). |
|
テクスチャのロード
Definition at line 74 of file MayaTexture.cpp. References getHeight(), getWidth(), highestPowerOf2(), MayaOpenGLCheck, and MayaStatusCheck. Referenced by bind(). |