OROCHI
 
Loading...
Searching...
No Matches
GxUnitHudImageRenderScreenshot.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12GX_HUD_NAMESPACE_BEGIN()
13
14//===========================================================================
16//===========================================================================
18{
19 //-------------------------------------------------------------
21 //-------------------------------------------------------------
23public:
24 // RTTI定義
25 GX_RTTI_CLASS_NAME(GxUnitHudImageRenderScreenshot, GxUnitHudImageRender, "HUDスクリーンショット画像")
26 // ClassBaseReference継承クラス用禁止宣言
28
29
30 //-------------------------------------------------------------
32 //-------------------------------------------------------------
34public:
37
39 //-------------------------------------------------------------
41 //-------------------------------------------------------------
43public:
45 void capture(b32 isHud);
46private:
48 void createRenderTarget(const GxSize& resolution, RENDER_FORMAT format);
49
51 //-------------------------------------------------------------
53 //-------------------------------------------------------------
55public:
57 constexpr RENDER_VIEW getViewIndex(void) const { return _viewIndex; }
59 constexpr void setViewIndex(RENDER_VIEW view) { _viewIndex = view; }
60
62 //-------------------------------------------------------------
64 //-------------------------------------------------------------
66private:
67 RENDER_VIEW _viewIndex;
68
70};
71
72GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
RENDER_VIEW
描画優先度(ビュー)
Definition GxRender.h:442
RENDER_FORMAT
フォーマット
Definition GxRender.h:269
HUD描画画像ユニット
Definition GxUnitHudImageRender.h:18
HUDスクリーンショット画像ユニット
Definition GxUnitHudImageRenderScreenshot.h:18
constexpr void setViewIndex(RENDER_VIEW view)
ビューインデックスの設定
Definition GxUnitHudImageRenderScreenshot.h:59
constexpr RENDER_VIEW getViewIndex(void) const
ビューインデックスの取得
Definition GxUnitHudImageRenderScreenshot.h:57
サイズ
Definition GxStruct.h:730
32bitブーリアン
Definition GxDefine.h:173