|
|
| GxSysRenderBase (void) |
| コンストラクタ
|
|
| ~GxSysRenderBase (void) override |
| デストラクタ
|
|
b32 | initialize (const GxClassBase *pInitialInformation) override |
| 初期化
|
|
void | terminate (void) override |
| 終了処理
|
|
virtual b32 | initializeThreadLocalStorage (u32 workerThreadIndex) |
| スレッドローカルストレージ初期化関数
|
|
|
GX_FORCE_INLINE void | setVirtualResolution (GxSize &size) |
| 仮想解像度の設定
|
|
GX_FORCE_INLINE const GxSize & | getVirtualResolution (void) const |
| 仮想解像度の取得
|
|
GX_FORCE_INLINE const GxSize & | getOutputResolution (void) const |
| 出力解像度の取得
|
|
GX_FORCE_INLINE const GxSize & | getDefaultViewportResolution (void) const |
| Viewportのデフォルト解像度の取得
|
|
GX_FORCE_INLINE const GxRect & | getSafetyArea (void) const |
| セーフティエリアの取得
|
|
GX_FORCE_INLINE const GxRect & | getVirtualSafetyArea (void) const |
| セーフティエリアの取得(仮想座標系)
|
|
GX_FORCE_INLINE void | setClearColor (const GxColor &color) |
| クリアカラーを設定
|
|
GX_FORCE_INLINE const GxColor & | getClearColor (void) const |
| クリアカラーを取得
|
|
GxViewport * | getViewport (RENDER_VIEW index) const |
| ビューポートの取得
|
|
GxViewport * | getDisableViewport (void) const |
| 未使用のビューポートを取得
|
|
u32 | getViewIndex (GxViewport *pViewport) const |
| ビューインデックスの取得
|
|
u32 | getEnableViewportNum (void) |
| 有効なビューポートの数を取得
|
|
constexpr GxRenderVertexBuffer * | getInstanceVertexBuffer (void) |
| インスタンス用の頂点バッファの取得
|
|
virtual GX_FORCE_INLINE GxResShaderPackage * | getModelShaderPackage (void) |
| モデル用シェーダパッケージを取得(仮)
|
|
GX_FORCE_INLINE b32 | isFrustumCulling (void) const |
| フラスタムカリング有効判定
|
|
GX_FORCE_INLINE void | setFrustumCulling (b32 enable) |
| フラスタムカリング有効設定
|
|
GX_FORCE_INLINE b32 | isShadowCullingModeDefault (void) const |
| シャドウ描画時のカリングにデフォルト設定か否か(trueの場合 デフォルト設定のカリング無効時;無効、有効時:フロントフェースカリング)
|
|
GX_FORCE_INLINE void | setShadowCullingModeDefaul (b32 enable) |
| シャドウ描画時のカリングにデフォルト設定を有効にするか否か(trueの場合 デフォルト設定のカリング無効時;無効、有効時:フロントフェースカリング)
|
|
RENDER_VIEW | getViewportFromScreen (const GxPoint2 &screenPosition) |
| スクリーン座標からビューポート番号を取得
|
|
template<typename T > |
T * | getModule (void) const |
| モジュールを取得
|
|
| GxSysBase (void) |
| デフォルトコンストラクタ
|
|
| ~GxSysBase (void) override |
| デストラクタ
|
|
b32 | isLocked (void) |
| クリティカルセクションのロック状態を確認する
|
|
void | sleep (f32 time) |
| スリープ(スクリプト用)
|
|
constexpr | GxClassBase (void) |
| コンストラクタ
|
|
constexpr | GxClassBase (const GxClassBase &base) |
| コピーコンストラクタ
|
|
| ~GxClassBase (void) override |
| デストラクタ
|
|
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) |
| デフォルトオブジェクト判定
|
|
| SingletonBase (void) |
| コンストラクタ
|
|
| ~SingletonBase (void) |
| デストラクタ
|
|
|
void | update (void) override |
| 更新
|
|
virtual void | render (void) |
| 描画
|
|
const GxPoint2 | transformWorldToScreen (const GxVector3 &worldPosition, const RENDER_VIEW viewport, const GxSize *pResolution=nullptr) |
| ワールド座標→スクリーン座標(カメラzチェックなし)
|
|
b32 | transformWorldToScreen (const GxVector3 &worldPosition, GxPoint2 &screenPosition, const RENDER_VIEW viewport) |
| ワールド座標→スクリーン座標GxPoint2(カメラzチェックあり) (削除予定)
|
|
b32 | transformWorldToScreen (const GxVector3 &worldPosition, GxVector3 &screenPosition, const RENDER_VIEW viewport) |
| ワールド座標→スクリーン座標GxVector3(カメラzチェックあり)
|
|
const GxVector2 | transformWorldToVirtual (const GxVector3 &worldPosition, const RENDER_VIEW viewport) |
| ワールド座標→仮想座標(カメラzチェックなし)
|
|
b32 | transformScreenToRay (const GxPoint2 &screenPosition, GxVector3 &rayStart, GxVector3 &rayEnd, const GxSize *pResolution=nullptr) |
| スクリーン座標→ワールド座標でのレイ
|
|
b32 | transformScreenToRay (const GxPoint2 &screenPosition, GxVector3 &rayStart, GxVector3 &rayEnd, const RENDER_VIEW viewport, const GxSize *pResolution=nullptr) |
| スクリーン座標→ワールド座標でのレイ(指定ビューポート)
|
|
void | copyTextureToBackbuffer (GxRenderTexture *pDst, GxRenderTexture *pSrc, b32 isRight) |
| バックバッファにテクスチャをコピー
|
|
constexpr void | setClearTexture (GxRenderTexture *pClearRenderTexture) |
| 画面クリア用テクスチャを設定
|
|
constexpr GxRenderTexture * | getClearTexture (void) |
| 画面クリア用テクスチャのポインタを取得
|
|
static void | getPositionFromVirtual (const GxVector2 &virtualPosition, GxPoint2 &outputPosition, const GxSize *pOutputResolution) |
| virtualResolution→指定Resolutionに座標変換
|
|
static void | getPositionToVirtual (const GxPoint2 &inputPosition, GxVector2 &virtualPosition, const GxSize *pInputResolution) |
| 指定Resolution→virtualResolutionに座標変換
|
|
static void | getPositionVirtualToOutput (const GxVector2 &virtualPosition, GxPoint2 &outputPosition) |
| virtualResolution→OutputResolutionに座標変換
|
|
static void | getPositionOutputToVirtual (const GxPoint2 &outputPosition, GxVector2 &virtualPosition) |
| OutputResolution→virtualResolutionに座標変換
|
|
static void | getRectFromVirtual (const GxRectF &baseRect, GxRect &dstRect, const GxSize *pOutputResolution) |
| virtualResolution→指定Resolutionに矩形変換
|
|
static void | getRectToVirtual (const GxRect &baseRect, GxRectF &dstRect, const GxSize *pInputResolution) |
| 指定Resolution→virtualResolutionに矩形変換
|
|
static void | getRectVirtualToOutput (const GxRectF &baseRect, GxRect &dstRect) |
| virtualResolution→OutputResolutionに矩形変換
|
|
static void | getRectOutputToVirtual (const GxRect &baseRect, GxRectF &dstRect) |
| OutputResolution→virtualResolutionに矩形変換
|
|
static GxPoint2 | getPositionViewPortToOutput (const GxPoint2 &viewportPosition, const RENDER_VIEW viewportNo) |
| 各ビューポートでの2D座標系→OutputResolutionに変換
|
|
static GxPoint2 | getPositionOutputToViewPort (const GxPoint2 &outputResolution, const RENDER_VIEW viewportNo) |
| OutputResolution→各ビューポートでの2D座標系に変換
|
|
void | drawClearTexture (GxViewport *pViewport) |
| 画面クリア用テクスチャを描画
|
|
virtual void | renderUnit (void) |
| ユニットの描画
|
|
void | copyViewport (void) |
| ビューポートをコピー
|
|
virtual GxRenderTexture * | getViewportRenderTarget (RENDER_VIEW viewport) |
| 指定ビューポートのレンダーターゲットを取得
|
|
GX_FORCE_INLINE GxRenderContext * | getRenderContext (u32 workerThreadIndex) |
| 指定スレッドのコンテキストを取得
|
|