13GX_CORE_NAMESPACE_BEGIN()
40 void cleanup(
void)
override;
43 static b32 initializeThreadLocalStorage(
void);
66#if defined(GX_THREAD_LOCAL_STORAGE)
68 GX_FORCE_INLINE
static void disableDelayRelease(
void) { _disableDelayRelease++; }
70 GX_FORCE_INLINE
static void enableDelayRelease(
void) { _disableDelayRelease--; GX_ASSERT(_disableDelayRelease >= 0,
"遅延解放無効化フラグが不正です"); }
73 GX_FORCE_INLINE static void disableDelayRelease(void) { _disableDelayRelease[GxThread::getCurrentThread()->getIndex()]++; }
90 GX_FORCE_INLINE
void getPropertyRttiName(
void*
const pValue) { *
static_cast<GX_CSTR*
>(pValue) = getRtti().getName(); }
93 GX_FORCE_INLINE
GxString getRenderNotifierName(
void)
const override {
GxString string;
return string.
format(
"ClassName:%s", getRtti().getClassName()); }
102#if defined(GX_THREAD_LOCAL_STORAGE)
103 static GX_THREAD_LOCAL_STORAGE s32 _disableDelayRelease;
111GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
参照オブジェクト基底クラス
Definition GxBase.h:122
描画関連のイベントを通知します
Definition GxRenderNotifier.h:22
GPUリソースを管理する
Definition GxRenderResource.h:20
virtual GX_FORCE_INLINE void onRender(void)
描画通知
Definition GxRenderResource.h:62
GX_FORCE_INLINE b32 onResetDevice(void) override
デバイスのリセット後に通知
Definition GxRenderResource.h:59
GX_FORCE_INLINE void onLostDevice(void) override
デバイスが消失した時点で通知
Definition GxRenderResource.h:56
constexpr void forceDelayRelease(void)
強制遅延解放
Definition GxRenderResource.h:65
static GX_FORCE_INLINE void enableDelayRelease(void)
遅延解放を有効化
Definition GxRenderResource.h:75
static GxThread * getCurrentThread(void)
カレントスレッドを取得
Definition GxThread.cpp:505
constexpr u32 getIndex(void) const
インデックスを取得
Definition GxThread.h:251
static constexpr u32 THREAD_MAX
スレッドの最大数
Definition GxThread.h:188
文字列型クラス
Definition GxString.h:18
const GxString & format(GX_CSTR format,...)
フォーマット出力
Definition GxString.cpp:1913
32bitブーリアン
Definition GxDefine.h:173