OROCHI
 
Loading...
Searching...
No Matches
GxOtFrustumCulling::GxCullingOctant Class Reference

カリング用オクツリーのオクタント More...

#include <GxOtFrustumCulling.h>

Inheritance diagram for GxOtFrustumCulling::GxCullingOctant:
Collaboration diagram for GxOtFrustumCulling::GxCullingOctant:

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 GxArraygetMeshList (void) const
 
constexpr GxArraygetInstanceList (void) const
 
- Public Member Functions inherited from GxOctree::GxNode
 GxNode (void)
 デフォルトコンストラクタ
 
 ~GxNode (void) override
 デストラクタ
 
constexpr GxArraygetObjectList (void) const
 
GX_FORCE_INLINE GxShapeAxisAlignedBoxgetBoudingBox (void)
 
GX_FORCE_INLINE const GxShapeAxisAlignedBoxgetBoudingBox (void) const
 
b32 addObject (GxClassBaseRoot *pObject)
 オブジェクトを追加
 
b32 deleteObject (GxClassBaseRoot *pObject)
 全ての登録オブジェクトの削除
 
b32 findObject (GxClassBaseRoot *pObject) const
 オブジェクトを検索
 
void clearObjects (void)
 全ての登録オブジェクトの削除
 
constexpr void setCriticalSectionArray (GxCriticalSection *pCriticalSection)
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Public Attributes

定義
friend GxOtFrustumCulling
 
- Public Attributes inherited from GxOctree::GxNode
friend GxOctree
 

Protected Attributes

メンバ変数
GxArray_pMeshList
 メッシュリスト
 
GxArray_pInstanceList
 インスタンスリスト
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Protected Member Functions inherited from GxOctree::GxNode
void setLock (void)
 リスト用クリティカルセクションでロックする
 
void setUnlock (void)
 リスト用クリティカルセクションのロックを解放
 

Detailed Description

カリング用オクツリーのオクタント

Member Function Documentation

◆ addInstance()

b32 GxOtFrustumCulling::GxCullingOctant::addInstance ( GxCullingInstanceAlias * pObject)

インスタンスオブジェクトを追加

Parameters
pObject追加するオブジェクト
Returns
追加したらtrue
Here is the caller graph for this function:

◆ addMesh()

b32 GxOtFrustumCulling::GxCullingOctant::addMesh ( GxCullingMeshGroupAlias * pObject)

メッシュ・オブジェクトを追加

Parameters
obj追加するオブジェクト
Returns
追加したらtrue
Here is the caller graph for this function:

◆ deleteInstance()

b32 GxOtFrustumCulling::GxCullingOctant::deleteInstance ( GxMatrixAffine * pMatrix)

インスタンスオブジェクトの削除

Parameters
pMatrix[in] 削除するオブジェクトのマトリクス
Returns
削除したらtrue

◆ deleteMesh()

b32 GxOtFrustumCulling::GxCullingOctant::deleteMesh ( GxResModel::GxMesh * pObject)

メッシュ・オブジェクトの削除

Parameters
pObject[in] 削除するオブジェクト
Returns
削除したらtrue

◆ findInstance()

b32 GxOtFrustumCulling::GxCullingOctant::findInstance ( GxMatrixAffine * pObject) const

インスタンスオブジェクトを検索

インスタンスオブジェクトを検索

Parameters
pObject[in] オブジェクト
Returns
見つかったらtrue

◆ findMesh()

b32 GxOtFrustumCulling::GxCullingOctant::findMesh ( GxResModel::GxMesh * pObject,
u32 beginIndex,
u32 endIndex ) const

メッシュ・オブジェクトを検索

Parameters
pObject[in] 削除するオブジェクト
beginIndex[in] 開始インデックス
endIndex[in] 終了インデックス
Returns
削除したらtrue

◆ getInstanceList()

GxArray * GxOtFrustumCulling::GxCullingOctant::getInstanceList ( void ) const
inlineconstexpr

インスタンスリストを取得

Returns
リスト

◆ getMeshList()

GxArray * GxOtFrustumCulling::GxCullingOctant::getMeshList ( void ) const
inlineconstexpr

メッシュリストを取得

Returns
リスト
Here is the caller graph for this function:

◆ isEmpty()

GX_FORCE_INLINE b32 GxOtFrustumCulling::GxCullingOctant::isEmpty ( void ) const
inlineoverridevirtual

ノードにオブジェクトが含まれているか

Reimplemented from GxOctree::GxNode.

Here is the call graph for this function:

The documentation for this class was generated from the following files: