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 GxUnitCameraBasegetCamera (void) const
 カメラを取得
 
constexpr void setCamera (GxUnitCameraBase *pCamera)
 カメラを設定
 
GX_FORCE_INLINE const GxSizegetResolution (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 GxRectgetRegion (void) const
 領域取得
 
GX_FORCE_INLINE void setRegion (const GxRect &region)
 領域設定
 
GX_FORCE_INLINE void setSize (const GxSize &size)
 領域サイズ設定
 
constexpr GxRenderTexturegetRenderTarget (void) const
 レンダーターゲットを取得
 
void setRenderTarget (GxRenderTexture *pTexture)
 レンダーターゲットを設定
 
constexpr GxRenderTexturegetDepthStencil (void) const
 深度ステンシルを取得
 
constexpr GxRenderTexturegetShadowMap (void) const
 シャドウマップを取得
 
constexpr GxRenderTexturegetSSAOMap (void) const
 SSAOマップを取得
 
constexpr GxRenderTexturegetSSAOHorizontalBlurredMap (void) const
 SSAO水平ブラーマップを取得
 
constexpr GxRenderTexturegetNormalMap (void) const
 ノーマルマップを取得
 
constexpr GxRenderTexturegetDiffuseMap (void) const
 ディフューズマップを取得
 
constexpr GxRenderTexturegetSpecularMap (void) const
 スペキュラマップを取得
 
constexpr GxRenderTexturegetFogColorMap (void) const
 フォグ色マップを取得
 
constexpr GxRenderTexturegetLightProbeMap (void) const
 ライトプローブマップを取得
 
void setLightProbeMapResolution (const GxSize &resolution)
 ライトプローブマップの解像度設定
 
void setLightProbeResolution (u32 x, u32 y, u32 z)
 ライトプローブの解像度設定
 
constexpr GxRenderTexturegetLightProbe (u32 shIndex, u32 colorIndex) const
 ライトプローブを取得
 
constexpr GxRenderTexturegetMetallicRoughnessMap (void) const
 メタリック/ラフネスマップを取得
 
constexpr GxRenderTexturegetVelocityMap (void) const
 速度マップを取得
 
constexpr GxRenderTexturegetVelocityDepthStencilMap (void) const
 速度深度マップを取得
 
const GxSizegetVelocityMapResolution (void) const
 速度マップの解像度取得
 
void setVelocityMapResolution (const GxSize &resolution)
 速度マップの解像度設定
 
constexpr GxRenderTexturegetEffectZMap (void) const
 エフェクト深度マップを取得
 
constexpr GxRenderTexturegetSemiTransparenceMap (void) const
 半透明マップを取得
 
constexpr GxRenderTexturegetMultiSample (void) const
 マルチサンプル
 
constexpr GxRenderTexturegetMultiSampleDepthStencil (void) const
 マルチサンプル深度マップ
 
constexpr GxRenderVertexDeclarationgetLightingVertexDeclaration (void) const
 ライト用頂点宣言の取得
 
constexpr GxRenderVertexBuffergetLightingVertexBuffer (void) const
 ライト用頂点バッファの取得
 
constexpr GxRenderIndexBuffergetLightingIndexBuffer (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 GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (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: