OROCHI
 
Loading...
Searching...
No Matches
GxSysRenderBase::GxViewport Class Reference

ビューポートクラス More...

#include <GxSysRenderBase.h>

Inheritance diagram for GxSysRenderBase::GxViewport:
Collaboration diagram for GxSysRenderBase::GxViewport:

Public Member Functions

アクセサ
GX_FORCE_INLINE b32 getEnable (void) const
 有効か否かの取得
 
GX_FORCE_INLINE void setEnable (b32 enable)
 有効か否かの設定
 
GX_FORCE_INLINE b32 isRenderDisplay (void) const
 画面に描画するか判定
 
GX_FORCE_INLINE void setRenderDisplay (b32 enable)
 画面に描画するか設定
 
GX_FORCE_INLINE b32 isOffScreen (void) const
 オフスクリーンにするか判定
 
GX_FORCE_INLINE void setOffScreen (b32 enable)
 オフスクリーンにするか設定
 
constexpr GxUnitCameraBase * getCamera (void) const
 カメラを取得
 
constexpr void setCamera (GxUnitCameraBase *pCamera)
 カメラを設定
 
GX_FORCE_INLINE const GxSize & getResolution (void) const
 解像度取得
 
void setResolution (const GxSize &resolution)
 解像度設定
 
constexpr RENDER_FORMAT getFormat (void) const
 フォーマット取得
 
GX_FORCE_INLINE void setFormat (RENDER_FORMAT format)
 フォーマット設定
 
constexpr RENDER_ANTI_ALIASING getAntiAliasing (void) const
 アンチエイリアシング取得
 
GX_FORCE_INLINE void setAntiAliasing (RENDER_ANTI_ALIASING antiAliasing)
 アンチエイリアシング設定
 
GX_FORCE_INLINE const GxRect & getRegion (void) const
 領域取得
 
GX_FORCE_INLINE void setRegion (const GxRect &region)
 領域設定
 
GX_FORCE_INLINE void setSize (const GxSize &size)
 領域サイズ設定
 
constexpr GxRenderTexture * getRenderTarget (void) const
 レンダーターゲットを取得
 
void setRenderTarget (GxRenderTexture *pTexture)
 レンダーターゲットを設定
 
constexpr GxRenderTexture * getDepthStencil (void) const
 深度ステンシルを取得
 
constexpr GxRenderTexture * getShadowMap (void) const
 シャドウマップを取得
 
constexpr GxRenderTexture * getSSAOMap (void) const
 SSAOマップを取得
 
constexpr GxRenderTexture * getSSAOHorizontalBlurredMap (void) const
 SSAO水平ブラーマップを取得
 
constexpr GxRenderTexture * getNormalMap (void) const
 ノーマルマップを取得
 
constexpr GxRenderTexture * getDiffuseMap (void) const
 ディフューズマップを取得
 
constexpr GxRenderTexture * getSpecularMap (void) const
 スペキュラマップを取得
 
constexpr GxRenderTexture * getFogColorMap (void) const
 フォグ色マップを取得
 
constexpr GxRenderTexture * getLightProbeMap (void) const
 ライトプローブマップを取得
 
void setLightProbeMapResolution (const GxSize &resolution)
 ライトプローブマップの解像度設定
 
void setLightProbeResolution (u32 x, u32 y, u32 z)
 ライトプローブの解像度設定
 
constexpr GxRenderTexture * getLightProbe (u32 shIndex, u32 colorIndex) const
 ライトプローブを取得
 
constexpr GxRenderTexture * getMetallicRoughnessMap (void) const
 メタリック/ラフネスマップを取得
 
constexpr GxRenderTexture * getVelocityMap (void) const
 速度マップを取得
 
constexpr GxRenderTexture * getVelocityDepthStencilMap (void) const
 速度深度マップを取得
 
const GxSize & getVelocityMapResolution (void) const
 速度マップの解像度取得
 
void setVelocityMapResolution (const GxSize &resolution)
 速度マップの解像度設定
 
constexpr GxRenderTexture * getEffectZMap (void) const
 エフェクト深度マップを取得
 
constexpr GxRenderTexture * getSemiTransparenceMap (void) const
 半透明マップを取得
 
constexpr GxRenderTexture * getMultiSample (void) const
 マルチサンプル
 
constexpr GxRenderTexture * getMultiSampleDepthStencil (void) const
 マルチサンプル深度マップ
 
constexpr GxRenderVertexDeclaration * getLightingVertexDeclaration (void) const
 ライト用頂点宣言の取得
 
constexpr GxRenderVertexBuffer * getLightingVertexBuffer (void) const
 ライト用頂点バッファの取得
 
constexpr GxRenderIndexBuffer * getLightingIndexBuffer (void) const
 ライト用インデックスバッファの取得
 
b32 isRenderReady (void)
 描画準備が出来ているかの取得。解像度更新中などの場合 false を返す。
 
void clearRenderTarget (RENDER_SUB_VIEW subView, RENDER_PASS pass, u32 subPriority=0)
 画面クリア処理
 
constexpr void setIndex (u32 index)
 indexを設定
 
constexpr u32 getIndex (void)
 indexを取得
 
- 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 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)
 デフォルトオブジェクト判定
 

Protected Member Functions

初期化
 GxViewport (void)
 デフォルトコンストラクタ
 
virtual GX_FORCE_INLINE b32 initialize (void)
 初期化関数
 
virtual void terminate (void)
 終了処理
 

Friends

定義
class GxSysRenderBase
 

操作

b32 updateRenderTarget (void)
 レンダーターゲットの更新
 
virtual void update (void)
 更新処理
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti & __getStaticRtti (void)
 Rttiの取得
 

Detailed Description

ビューポートクラス

Member Function Documentation

◆ isRenderReady()

b32 GxSysRenderBase::GxViewport::isRenderReady ( void )

描画準備が出来ているかの取得。解像度更新中などの場合 false を返す。

Returns
成功ならtrue

◆ setRenderTarget()

void GxSysRenderBase::GxViewport::setRenderTarget ( GxRenderTexture * pTexture)

レンダーターゲットを設定

Parameters
pTexture[in] 設定する描画用テクスチャ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setResolution()

void GxSysRenderBase::GxViewport::setResolution ( const GxSize & resolution)

解像度設定

Parameters
resolution[in] 設定する解像度
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateRenderTarget()

b32 GxSysRenderBase::GxViewport::updateRenderTarget ( void )
protected

レンダーターゲットの更新

Returns
成功ならtrue
Here is the call graph for this function:

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