OROCHI
 
Loading...
Searching...
No Matches
GxSysLightBase Class Reference

ライトシステムクラス More...

#include <GxSysLightBase.h>

Inheritance diagram for GxSysLightBase:
Collaboration diagram for GxSysLightBase:

Public Member Functions

初期化
 GxSysLightBase (void)
 コンストラクタ
 
 ~GxSysLightBase (void) override
 デストラクタ
 
操作
void update (void) override
 更新
 
void registerLight (GxUnitLightBase *pLight)
 ライトを登録
 
- Public Member Functions inherited from GxSysBase
template<typename T >
T * getModule (void) const
 モジュールを取得
 
 GxSysBase (void)
 デフォルトコンストラクタ
 
 ~GxSysBase (void) override
 デストラクタ
 
virtual b32 initialize (const GxClassBase *pInitialiInformation=nullptr)
 初期化
 
virtual void terminate (void)
 終了処理
 
b32 isLocked (void)
 クリティカルセクションのロック状態を確認する
 
void sleep (f32 time)
 スリープ(スクリプト用)
 
- 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 Member Functions inherited from SingletonBase< GxSysLightBase >
 SingletonBase (void)
 コンストラクタ
 
 ~SingletonBase (void)
 デストラクタ
 

アクセサ

virtual u32 getLightList (u32 lightTypeMask, u32 lightGroup, GxUnitLightBase **ppLightList, u32 count)
 指定個数のライトを取得
 
GX_FORCE_INLINE GxListClassBasegetList (void)
 ライトリストを取得
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Member Functions inherited from SingletonBase< GxSysLightBase >
static GX_FORCE_INLINE GxSysLightBasegetSingleton (void)
 参照を取得
 
static constexpr GxSysLightBasegetSingletonPointer (void)
 ポインタを取得
 
- Protected Types inherited from GxSysBase
enum class  LOCK_TYPE { SEQUENTIAL_THREAD_SAFE , THREAD_SAFE }
 ロックタイプ More...
 
- Protected Member Functions inherited from GxSysBase
void terminateGxModules (void)
 GXモジュールの終了処理
 
void lock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションに入る
 
void unlock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションを出る
 
template<typename T >
T * addModule (void)
 モジュールを作成
 
template<typename T >
void removeModule (void)
 モジュールを削除
 

Detailed Description

ライトシステムクラス

Member Function Documentation

◆ getLightList()

u32 GxSysLightBase::getLightList ( u32 lightTypeMask,
u32 lightGroup,
GxUnitLightBase ** ppLightList,
u32 count )
virtual

指定個数のライトを取得

Parameters
lightTypeMask[in] ライトタイプのビットマスク
lightGroup[in] ライトグループ
ppLightList[in,out] ライトのポインタ配列(count 分の GxUnitLight* の配列)
count[in] ライト数
Returns
リストに登録されたライト数

Reimplemented in GxSysLight.

Here is the caller graph for this function:

◆ registerLight()

void GxSysLightBase::registerLight ( GxUnitLightBase * pLight)

ライトを登録

Parameters
pLight[in] ライトユニット
Here is the call graph for this function:

◆ update()

void GxSysLightBase::update ( void )
overridevirtual

更新

Reimplemented from GxSysBase.

Here is the call graph for this function:
Here is the caller graph for this function:

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