カリング用オクツリーのオクタント More...
#include <GxOtFrustumCulling.h>
Public Member Functions | |
初期化 | |
GxCullingOctant (void) | |
デフォルトコンストラクタ | |
~GxCullingOctant (void) override | |
デストラクタ | |
操作 | |
b32 | addMesh (GxCullingMeshGroupAlias *pObject) |
メッシュ・オブジェクトを追加 | |
b32 | deleteMesh (GxResModel::GxMesh *pMesh) |
メッシュ・オブジェクトの削除 | |
b32 | findMesh (GxResModel::GxMesh *pMesh, u32 beginIndex, u32 endIndex) const |
メッシュ・オブジェクトを検索 | |
void | clearMeshes (void) |
b32 | addInstance (GxCullingInstanceAlias *pObject) |
インスタンスオブジェクトを追加 | |
b32 | deleteInstance (GxMatrixAffine *pMatrix) |
インスタンスオブジェクトの削除 | |
b32 | findInstance (GxMatrixAffine *pMatrix) const |
インスタンスオブジェクトを検索 | |
void | clearInstances (void) |
全ての登録オブジェクトの削除 | |
void | resetCullingFlags (void) |
カリングのフラグをリセットする | |
アクセサ | |
GX_FORCE_INLINE b32 | isEmpty (void) const override |
ノードにオブジェクトが含まれているか | |
constexpr GxArray * | getMeshList (void) const |
constexpr GxArray * | getInstanceList (void) const |
![]() | |
GxNode (void) | |
デフォルトコンストラクタ | |
~GxNode (void) override | |
デストラクタ | |
constexpr GxArray * | getObjectList (void) const |
GX_FORCE_INLINE GxShapeAxisAlignedBox & | getBoudingBox (void) |
GX_FORCE_INLINE const GxShapeAxisAlignedBox & | getBoudingBox (void) const |
b32 | addObject (GxClassBaseRoot *pObject) |
オブジェクトを追加 | |
b32 | deleteObject (GxClassBaseRoot *pObject) |
全ての登録オブジェクトの削除 | |
b32 | findObject (GxClassBaseRoot *pObject) const |
オブジェクトを検索 | |
void | clearObjects (void) |
全ての登録オブジェクトの削除 | |
constexpr void | setCriticalSectionArray (GxCriticalSection *pCriticalSection) |
![]() | |
constexpr | GxClassBase (void) |
コンストラクタ | |
constexpr | GxClassBase (const GxClassBase &base) |
コピーコンストラクタ | |
~GxClassBase (void) override | |
デストラクタ | |
![]() | |
constexpr | GxClassBaseRoot (void) |
コンストラクタ | |
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
コピーコンストラクタ | |
virtual | ~GxClassBaseRoot (void) |
デストラクタ | |
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
代入演算子 | |
virtual GxRtti & | getRtti (void) const =0 |
Rttiの取得 | |
virtual GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) |
デフォルトオブジェクトを取得 | |
GX_FORCE_INLINE b32 | isDefaultObject (void) |
デフォルトオブジェクト判定 | |
Public Attributes | |
定義 | |
friend | GxOtFrustumCulling |
![]() | |
friend | GxOctree |
Protected Attributes | |
メンバ変数 | |
GxArray * | _pMeshList |
メッシュリスト | |
GxArray * | _pInstanceList |
インスタンスリスト | |
Additional Inherited Members | |
![]() | |
static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
Rttiの取得 | |
![]() | |
void | setLock (void) |
リスト用クリティカルセクションでロックする | |
void | setUnlock (void) |
リスト用クリティカルセクションのロックを解放 | |
カリング用オクツリーのオクタント
b32 GxOtFrustumCulling::GxCullingOctant::addInstance | ( | GxCullingInstanceAlias * | pObject | ) |
インスタンスオブジェクトを追加
pObject | 追加するオブジェクト |
b32 GxOtFrustumCulling::GxCullingOctant::addMesh | ( | GxCullingMeshGroupAlias * | pObject | ) |
メッシュ・オブジェクトを追加
obj | 追加するオブジェクト |
b32 GxOtFrustumCulling::GxCullingOctant::deleteInstance | ( | GxMatrixAffine * | pMatrix | ) |
インスタンスオブジェクトの削除
pMatrix | [in] 削除するオブジェクトのマトリクス |
b32 GxOtFrustumCulling::GxCullingOctant::deleteMesh | ( | GxResModel::GxMesh * | pObject | ) |
メッシュ・オブジェクトの削除
pObject | [in] 削除するオブジェクト |
b32 GxOtFrustumCulling::GxCullingOctant::findInstance | ( | GxMatrixAffine * | pObject | ) | const |
インスタンスオブジェクトを検索
インスタンスオブジェクトを検索
pObject | [in] オブジェクト |
b32 GxOtFrustumCulling::GxCullingOctant::findMesh | ( | GxResModel::GxMesh * | pObject, |
u32 | beginIndex, | ||
u32 | endIndex ) const |
メッシュ・オブジェクトを検索
pObject | [in] 削除するオブジェクト |
beginIndex | [in] 開始インデックス |
endIndex | [in] 終了インデックス |
|
inlineconstexpr |
インスタンスリストを取得
|
inlineconstexpr |
メッシュリストを取得
|
inlineoverridevirtual |