OROCHI
 
Loading...
Searching...
No Matches
GxRenderDevice Class Reference

描画関連の依存をこのクラスで吸収します More...

#include <GxRenderDevice.h>

Inheritance diagram for GxRenderDevice:
Collaboration diagram for GxRenderDevice:

Classes

struct  GxCaps
 GPUの性能 More...
 
struct  GxCommandAssembleFinalVrImage
 終点的な、右目でも左目でも含めっている、絵を片付けます More...
 
struct  GxCommandBeginMarker
 マーカー開始 More...
 
struct  GxCommandCallback
 コールバックコマンド More...
 
struct  GxCommandCallbackCopy
 コールバックコマンド More...
 
struct  GxCommandClear
 画面クリアコマンド More...
 
struct  GxCommandClearHDR
 画面クリアコマンド(HDR) More...
 
struct  GxCommandCopyDepthStencilToTexture
 深度ステンシルコピーコマンド More...
 
struct  GxCommandCopyDepthStencilToTextureStretch
 深度ステンシル拡大/縮小コピーコマンド More...
 
struct  GxCommandCopyRenderTargetToTexture
 レンダーターゲットコピーコマンド More...
 
struct  GxCommandCopyRenderTargetToTextureStretch
 レンダーターゲット拡大/縮小コピーコマンド More...
 
struct  GxCommandCopyRenderTargetToTextureWithMipmap
 レンダーターゲットミップマップコピーコマンド More...
 
struct  GxCommandDraw
 インデックスなし描画コマンド More...
 
struct  GxCommandDrawIndexed
 インデックスあり描画コマンド More...
 
struct  GxCommandDrawIndexedMemory
 インデックスあり描画(メインメモリ)コマンド More...
 
struct  GxCommandDrawMemory
 インデックスなし描画(メインメモリ)コマンド More...
 
struct  GxCommandEndMarker
 マーカー終了 More...
 
struct  GxCommandForceDrawState
 描画ステート強制変更コマンド More...
 
struct  GxCommandForceVertexStreamState
 頂点ストリームステート強制変更コマンド More...
 
struct  GxCommandInformation
 描画コマンド情報 More...
 
struct  GxCommandSetAlphaTestState
 アルファテストステート設定コマンド More...
 
struct  GxCommandSetBlendState
 ブレンドステート設定コマンド More...
 
struct  GxCommandSetDepthStencil
 深度ステンシル設定コマンド More...
 
struct  GxCommandSetDepthTestState
 Zテストステート設定コマンド More...
 
struct  GxCommandSetPredication
 プレディケーション設定コマンド More...
 
struct  GxCommandSetRenderState
 描画ステート設定コマンド More...
 
struct  GxCommandSetRenderTarget
 レンダーターゲット設定コマンド More...
 
struct  GxCommandSetScissorRect
 シザリング矩形設定コマンド More...
 
struct  GxCommandSetStencilTestState
 ステンシルテストステート設定コマンド More...
 
struct  GxCommandSetViewport
 ビューポート設定コマンド More...
 
struct  GxDrawCommandCommonInformation
 描画コマンド共通情報 More...
 
struct  GxPacket
 描画パケット More...
 
class  GxPriority
 
class  GxRawAllocator
 管理ブロックを外部に置くことで特殊メモリなど無駄なく使いたい場合 More...
 
struct  GxRegisterInformation
 レジスタ情報 More...
 
struct  GxRegisterSet
 レジスタセット情報 More...
 
class  GxRenderResourceRegister
 描画リソースの管理を行います More...
 
class  GxRenderThread
 描画命令を発行するスレッドを管理します More...
 
struct  GxVertexStream
 頂点ストリーム情報 More...
 
struct  GxViewportData
 ビューポートデータ More...
 
class  GxVramAllocator
 VRAM を管理します More...
 

定義

enum class  COMMAND_TYPE {
  SET_RENDER_STATE , SET_DEPTH_TEST_STATE , SET_STENCIL_TEST_STATE , SET_ALPHA_TEST_STATE ,
  SET_BLEND_STATE , SET_VIEWPORT , SET_SCISSOR_RECT , SET_RENDER_TARGET ,
  SET_DEPTH_STENCIL , FORCE_DRAW_STATE , DRAW , DRAW_INDEXED ,
  DRAW_MEMORY , DRAW_INDEXED_MEMORY , CLEAR , CLEAR_HDR ,
  COPY_RENDER_TARGET_TO_TEXTURE , COPY_DEPTH_STENCIL_TO_TEXTURE , COPY_RENDER_TARGET_TO_TEXTURE_STRETCH , COPY_DEPTH_STENCIL_TO_TEXTURE_STRETCH ,
  COPY_RENDER_TARGET_TO_TEXTURE_WITH_MIPMAP , RESERVE0 , RESERVE1 , RESERVE2 ,
  RESERVE3 , RESERVE4 , RESERVE5 , RESERVE6 ,
  CALLBACK_ , CALLBACK_COPYARG , SET_PREDICATION , FLUSH_GPU_COMMAND_BUFFER ,
  MAX
}
 コマンドタイプ More...
 
class GxSysRenderBase
 
class GxRenderContext
 
class GxRenderNotifier
 
class GxRenderNotifierForOnRender
 
class GxRenderResource
 
class GxRenderTexture
 
class GxRenderVertexDeclaration
 
static constexpr u32 CACHE_INVALIDATE_VALUE = 0x8B8B8B8BUL
 キャッシュ無効状態値(問題があれば別途フラグを用意する)
 
static void * CACHE_INVALIDATE_POINTER = reinterpret_cast<void*>(static_cast<u64>(0x8B8B8B8BUL))
 キャッシュ無効状態ポインタ(問題があれば別途フラグを用意する)
 
static constexpr u32 FRAME_TIME_LOG_COUNT = (1 << 3)
 フレーム時間ログ数
 
static constexpr u32 FRAME_TIME_LOG_COUNT_I = (1 << 3)
 フレーム時間ログ数(間欠)
 
static constexpr u32 PACKET_BLOCK_SIZE = GxMath::VALUE_8K
 パケットブロックサイズ
 
static constexpr u32 COMMAND_BLOCK_SIZE = GxMath::VALUE_32K
 コマンドブロックサイズ
 

メンバ変数

GX_RENDERDEVICE_ERROR_FUNCTION _pUserErrorFunction
 ユーザー定義のエラーコールバック
 

初期化

 GxRenderDevice (void)
 デフォルトコンストラクタ
 
b32 initialize (const GxRenderDeviceInitialInformation *pInitialInformation)
 初期化関数
 
void stopRenderThread (void)
 プレゼントパラメータ作成
 
void terminate (void)
 終了関数
 
b32 loadResource (void)
 リソースロード関数
 
b32 unloadResource (void)
 リソースアンロード関数
 
b32 initializeThreadLocalStorage (u32 workerThreadIndex)
 スレッドローカルストレージ初期化関数
 

アクセサ

GX_FORCE_INLINE f32 getElapsedFrameTime (void) const
 現在のフレームの経過時間を取得
 
constexpr RENDER_FRAME_RATE getFrameRateTarget (void) const
 目標フレームレートの取得
 
f32 getFrameRateTargetF32 (void)
 目標フレームレートの取得(f32)
 
void setFrameRateTarget (RENDER_FRAME_RATE frameRate)
 目標フレームレートの設定
 
constexpr f32 getFrameRate (void) const
 最新フレームレートの取得
 
constexpr f32 getFrameRateAverage (void) const
 平均フレームレートの取得
 
constexpr f32 getFrameTime (void) const
 最新フレーム時間の取得
 
constexpr f32 getFrameTimeAverage (void) const
 平均フレーム時間の取得
 
constexpr f32 getGpuFrameTime (void) const
 GPUフレーム時間の取得
 
constexpr u64 getGpuTimeStampFrequency (void) const
 GPUタイムスタンプ周波数の取得
 
GX_FORCE_INLINE b32 getFrameAverageAvailable (void) const
 平均フレームの値が有効か
 
GX_FORCE_INLINE b32 isCpuRenderSkipping (void) const
 現在のフレームのCPU描画処理がスキップされている
 
GX_FORCE_INLINE const GxSizegetOutputResolution (void) const
 出力解像度の取得
 
GX_FORCE_INLINE const GxRectgetSafetyArea (void) const
 セーフティエリアの取得
 
constexpr f32 getAspectRatio (void) const
 アスペクト比の取得
 
constexpr f32 getGamma (void) const
 ガンマ補正値の取得
 
constexpr void setGamma (f32 gamma)
 ガンマ補正値の設定
 
constexpr u32 getWriteBuffer (void) const
 書き込むバッファIndexの取得
 
constexpr u32 getRenderBuffer (void) const
 描画するバッファIndexの取得
 
GX_FORCE_INLINE GxRenderTexturegetTextureByHandle (GX_HANDLE handle) const
 ハンドルからテクスチャを取得
 
GX_FORCE_INLINE GxRenderTexturegetBackBuffer (void) const
 バックバッファを取得
 
GX_FORCE_INLINE const GxStringgetDeviceName (void) const
 デバイス名を取得
 
GX_FORCE_INLINE u32 getMaxSkinningJointCount (void)
 1メッシュに使用する最大のジョイント数
 
void storeState (void)
 ステートキャッシュをストア
 
void storeVertexDataState (void)
 頂点ステートキャッシュをストア
 
void setDefaultState (void)
 デフォルトステート設定
 
void unsetAllRenderResource (void)
 全描画リソースの設定解除
 
void forceDrawState (const GxCommandForceDrawState *pCommand)
 描画ステート強制変更
 

操作

GxRenderVertexBuffercreateVertexBuffer (u32 size, u32 attribute)
 頂点バッファ作成
 
GxRenderIndexBuffercreateIndexBuffer (u32 size, RENDER_INDEX_TYPE type, u32 attribute)
 インデックスバッファを作成
 
GxRenderVertexDeclarationcreateVertexDeclaration (const GxRenderVertexElement *pElements)
 頂点宣言を作成
 
template<typename T >
T * createShader (const void *pAssembledCode, u32 assembledCodeSize, u32 constantRegisterParameterCount, u32 usageInputSemantics, u32 constantBufferSize)
 シェーダを作成
 
template<>
GxRenderPixelShadercreateShader (const void *pAssembledCode, u32 assembledCodeSize, u32 constantRegisterParameterCount, u32 usageInputSemantics, u32 constantBufferSize)
 ピクセルシェーダを作成
 
GxRenderTexturecreateTexture2D (const GxSize &size, u32 mipLevel, RENDER_FORMAT format, u32 attribute)
 テクスチャを作成(2D)
 
GxRenderTexturecreateTexture3D (const GxSize &size, u32 depth, u32 mipLevel, RENDER_FORMAT format, u32 attribute)
 テクスチャを作成(3D)
 
GxRenderTexturecreateTextureCube (const GxSize &size, u32 mipLevel, RENDER_FORMAT format, u32 attribute)
 テクスチャを作成(Cube)
 
GxRenderTexturecreateRenderTarget (const GxSize &size, RENDER_FORMAT format, RENDER_ANTI_ALIASING antiAliasing, u32 attribute)
 レンダーターゲットを作成
 
GX_FORCE_INLINE b32 isEnablePreZSortByDepth (void)
 PreZパスで奥行きソートを行うか
 
GX_FORCE_INLINE GxVector2 getResolutionScaleTextureSSAO (void) const
 SSAOテクスチャの解像度拡縮率を取得
 
GX_FORCE_INLINE void setResolutionScaleTextureSSAO (const GxVector2 &scale)
 SSAOテクスチャの解像度拡縮率を設定
 
GX_FORCE_INLINE GxRenderTexturegetBackBufferDepthStencil (void) const
 バックバッファ用深度ステンシルを取得
 
GxRenderTexturecreateDepthStencil (const GxSize &size, RENDER_FORMAT format, RENDER_ANTI_ALIASING antiAliasing, u32 attribute)
 深度ステンシルを作成
 
GxRenderQuerycreateQuery (RENDER_QUERY_TYPE type)
 クエリを作成
 
GX_FORCE_INLINE void setDisableShadowPass (b32 disable)
 シャドウパスの処理を無効にするか否かの設定
 
GX_FORCE_INLINE b32 isDisableShadowPass (void) const
 シャドウパスの処理を無効にしているか否かを取得
 
GX_FORCE_INLINE void setDisableOverPaintPass (b32 disable)
 オーバーペイントの処理を無効にするか否かの設定
 
GX_FORCE_INLINE b32 isDisableOverPaintPass (void) const
 オーバーペイントの処理を無効にしているか否かを取得
 
GX_FORCE_INLINE void setDisableProcedualPass (b32 disable)
 プロシージャルパスの処理を無効にするか否かの設定
 
GX_FORCE_INLINE b32 isDisableProcedualPass (void) const
 プロシージャルパスの処理を無効にしているか否かを取得
 
GX_FORCE_INLINE b32 isUseDummyShader (void) const
 マスターでコンパイルされていないバリエーションが実行されようとしたときに
 
GX_FORCE_INLINE b32 isEnableWarningShaderCompile (void) const
 シェーダーコンパイル時に警告表示をするか否かを取得
 
GX_FORCE_INLINE b32 isNormalMap16FP () const
 ノーマルマップが16ビットfloatかを取得
 
void flushGpuCommandBuffer (void)
 GPUコマンドバッファのフラッシュ
 
void setAllContextPriority (RENDER_VIEW view, RENDER_SUB_VIEW subView, RENDER_PASS pass, u32 subPriority)
 全コンテキストのプライオリティを設定する
 
void begin (void)
 描画パケット収集開始
 
constexpr void end (void)
 描画パケット収集完了
 
void buildCommand (void)
 描画コマンド作成
 
void sync (void)
 描画終了待ち
 
void startRender (void)
 描画開始
 
void renderBlankScreen (void)
 初期化中のブランク画面描画
 
constexpr u32 getContextBufferCount (void) const
 コンテキストのバッファ数を取得
 
GX_FORCE_INLINE void * allocateCommandBufferMemory (u32 size)
 コマンドバッファメモリから確保
 
GX_FORCE_INLINE size_t getMainMemorySize (void) const
 VRAMメインメモリ(GPUからアクセス可能なメインメモリやドライバ目的のメモリ)サイズ取得
 
GX_FORCE_INLINE size_t getFreeMainMemorySize (void) const
 VRAMメインメモリ(GPUからアクセス可能なメインメモリやドライバ目的のメモリ)空きサイズ取得
 
GX_FORCE_INLINE size_t getLocalMemorySize (void) const
 VRAMローカルメモリ(ビデオメモリ)サイズ取得
 
GX_FORCE_INLINE size_t getFreeLocalMemorySize (void) const
 VRAMローカルメモリ(ビデオメモリ)空きサイズ取得
 
GX_FORCE_INLINE size_t getTotalAllocatedHighLocalMemorySize (void) const
 VRAMローカルメモリ最大到達サイズ取得
 
GX_FORCE_INLINE size_t getTotalAllocatedHighMainMemorySize (void) const
 VRAMメインメモリ最大到達サイズ取得
 
b32 requestSaveUserScreenshot (void)
 Master用スクリーンショット保存リクエスト
 
u32 * getUserScreenshotBuffer (GxSize &size)
 ユーザースクリーンショットバッファを取得
 
void freeUserScreenshotBuffer (void)
 ユーザースクリーンショットバッファを解放
 
void measureFPS (void)
 FPSの計測
 

Additional Inherited Members

- 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)
 デフォルトオブジェクト判定
 
- Public Member Functions inherited from SingletonBase< GxRenderDevice >
 SingletonBase (void)
 コンストラクタ
 
 ~SingletonBase (void)
 デストラクタ
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Member Functions inherited from SingletonBase< GxRenderDevice >
static GX_FORCE_INLINE GxRenderDevicegetSingleton (void)
 参照を取得
 
static constexpr GxRenderDevicegetSingletonPointer (void)
 ポインタを取得
 

Detailed Description

描画関連の依存をこのクラスで吸収します

描画デバイスクラス

Member Enumeration Documentation

◆ COMMAND_TYPE

enum class GxRenderDevice::COMMAND_TYPE
strongprotected

コマンドタイプ

Enumerator
SET_RENDER_STATE 

描画ステートの設定

SET_DEPTH_TEST_STATE 

深度テストステートの設定

SET_STENCIL_TEST_STATE 

ステンシルテストステートの設定

SET_ALPHA_TEST_STATE 

アルファテストステートの設定

SET_BLEND_STATE 

ブレンドステートの設定

SET_VIEWPORT 

ビューポートの設定

SET_SCISSOR_RECT 

シザリング矩形の設定

SET_RENDER_TARGET 

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

SET_DEPTH_STENCIL 

深度ステンシルの設定

FORCE_DRAW_STATE 

描画ステート強制変更

DRAW 

インデックスなし描画

DRAW_INDEXED 

インデックスあり描画

DRAW_MEMORY 

インデックスなし描画(メインメモリ)

DRAW_INDEXED_MEMORY 

インデックスあり描画(メインメモリ)

CLEAR 

画面クリア

CLEAR_HDR 

画面クリア(HDR)

COPY_RENDER_TARGET_TO_TEXTURE 

レンダーターゲットをテクスチャにコピーする

COPY_DEPTH_STENCIL_TO_TEXTURE 

深度ステンシルをテクスチャにコピーする

COPY_RENDER_TARGET_TO_TEXTURE_STRETCH 

レンダーターゲットをテクスチャに拡大/縮小コピーする

COPY_DEPTH_STENCIL_TO_TEXTURE_STRETCH 

深度ステンシルをテクスチャに拡大/縮小コピーする

COPY_RENDER_TARGET_TO_TEXTURE_WITH_MIPMAP 

レンダーターゲットをテクスチャにミップマップつきでコピーする

RESERVE0 

予備

RESERVE1 

予備

RESERVE2 

予備

RESERVE3 

予備

RESERVE4 

予備

RESERVE5 

予備

RESERVE6 

予備

CALLBACK_ 

コールバック

CALLBACK_COPYARG 

コールバック 引数をコンテキストにコピーする

SET_PREDICATION 

プレディケーションの設定

FLUSH_GPU_COMMAND_BUFFER 

GPUコマンドバッファのフラッシュ

MAX 

定義数

Member Function Documentation

◆ allocateCommandBufferMemory()

void * GxRenderDevice::allocateCommandBufferMemory ( u32 size)

コマンドバッファメモリから確保

Returns
バッファブロック

◆ createDepthStencil()

GxRenderTexture * GxRenderDevice::createDepthStencil ( const GxSize & size,
RENDER_FORMAT format,
RENDER_ANTI_ALIASING antiAliasing,
u32 attribute )

深度ステンシルを作成

Parameters
size[in] サイズ
format[in] フォーマット
antiAliasing[in] アンチエイリアシング
attribute[in] 属性
Returns
深度ステンシル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createIndexBuffer()

GxRenderIndexBuffer * GxRenderDevice::createIndexBuffer ( u32 size,
RENDER_INDEX_TYPE type,
u32 attribute )

インデックスバッファを作成

Parameters
size[in] サイズ
type[in] インデックスバッファ形式
attribute[in] 属性
Returns
インデックスバッファ
Here is the caller graph for this function:

◆ createQuery()

GxRenderQuery * GxRenderDevice::createQuery ( RENDER_QUERY_TYPE type)

クエリを作成

Parameters
type[in] クエリタイプ
Returns
クエリ
Here is the caller graph for this function:

◆ createRenderTarget()

GxRenderTexture * GxRenderDevice::createRenderTarget ( const GxSize & size,
RENDER_FORMAT format,
RENDER_ANTI_ALIASING antiAliasing,
u32 attribute )

レンダーターゲットを作成

Parameters
size[in] サイズ
format[in] フォーマット
antiAliasing[in] アンチエイリアシング
attribute[in] 属性
Returns
レンダーターゲット
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createTexture2D()

GxRenderTexture * GxRenderDevice::createTexture2D ( const GxSize & size,
u32 mipLevel,
RENDER_FORMAT format,
u32 attribute )

テクスチャを作成(2D)

Parameters
size[in] サイズ
mipLevel[in] ミップレベル
format[in] フォーマット
attribute[in] 属性
Returns
テクスチャ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createTexture3D()

GxRenderTexture * GxRenderDevice::createTexture3D ( const GxSize & size,
u32 depth,
u32 mipLevel,
RENDER_FORMAT format,
u32 attribute )

テクスチャを作成(3D)

Parameters
size[in] サイズ
depth[in] 深さ
mipLevel[in] ミップレベル
format[in] フォーマット
attribute[in] 属性
Returns
テクスチャ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createTextureCube()

GxRenderTexture * GxRenderDevice::createTextureCube ( const GxSize & size,
u32 mipLevel,
RENDER_FORMAT format,
u32 attribute )

テクスチャを作成(Cube)

Parameters
size[in] サイズ
mipLevel[in] ミップレベル
format[in] フォーマット
attribute[in] 属性
Returns
テクスチャ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createVertexBuffer()

GxRenderVertexBuffer * GxRenderDevice::createVertexBuffer ( u32 size,
u32 attribute )

頂点バッファ作成

Parameters
size[in] サイズ
attribute[in] 属性
Returns
頂点バッファ
Here is the caller graph for this function:

◆ createVertexDeclaration()

GxRenderVertexDeclaration * GxRenderDevice::createVertexDeclaration ( const GxRenderVertexElement * pElements)

頂点宣言を作成

Parameters
pElements[in] 頂点要素
Returns
頂点宣言
Here is the call graph for this function:
Here is the caller graph for this function:

◆ forceDrawState()

void GxRenderDevice::forceDrawState ( const GxCommandForceDrawState * pCommand)
protected

描画ステート強制変更

Parameters
pCommand[in] コマンド

◆ getFrameRateTargetF32()

f32 GxRenderDevice::getFrameRateTargetF32 ( void )

目標フレームレートの取得(f32)

Returns
目標フレームレート
Here is the caller graph for this function:

◆ getFreeLocalMemorySize()

size_t GxRenderDevice::getFreeLocalMemorySize ( void ) const

VRAMローカルメモリ(ビデオメモリ)空きサイズ取得

Returns
サイズ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFreeMainMemorySize()

size_t GxRenderDevice::getFreeMainMemorySize ( void ) const

VRAMメインメモリ(GPUからアクセス可能なメインメモリやドライバ目的のメモリ)空きサイズ取得

Returns
サイズ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLocalMemorySize()

size_t GxRenderDevice::getLocalMemorySize ( void ) const

VRAMローカルメモリ(ビデオメモリ)サイズ取得

Returns
サイズ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMainMemorySize()

size_t GxRenderDevice::getMainMemorySize ( void ) const

VRAMメインメモリ(GPUからアクセス可能なメインメモリやドライバ目的のメモリ)サイズ取得

Returns
サイズ
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMaxSkinningJointCount()

u32 GxRenderDevice::getMaxSkinningJointCount ( void )

1メッシュに使用する最大のジョイント数

Returns
ジョイント数

◆ getTextureByHandle()

GxRenderTexture * GxRenderDevice::getTextureByHandle ( GX_HANDLE handle) const

ハンドルからテクスチャを取得

Parameters
handle[in] ハンドル
Returns
テクスチャ

◆ getTotalAllocatedHighLocalMemorySize()

size_t GxRenderDevice::getTotalAllocatedHighLocalMemorySize ( void ) const

VRAMローカルメモリ最大到達サイズ取得

Returns
サイズ
Here is the call graph for this function:

◆ getTotalAllocatedHighMainMemorySize()

size_t GxRenderDevice::getTotalAllocatedHighMainMemorySize ( void ) const

VRAMメインメモリ最大到達サイズ取得

Returns
サイズ
Here is the call graph for this function:

◆ getUserScreenshotBuffer()

u32 * GxRenderDevice::getUserScreenshotBuffer ( GxSize & size)

ユーザースクリーンショットバッファを取得

Parameters
size[out] スクリーンショットの縦横サイズを返す
Returns
バッファを返す

◆ initialize()

b32 GxRenderDevice::initialize ( const GxRenderDeviceInitialInformation * pInitialInformation)

初期化関数

Parameters
pInitialInformation[in] 初期化情報
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initializeThreadLocalStorage()

b32 GxRenderDevice::initializeThreadLocalStorage ( u32 workerThreadIndex)
protected

スレッドローカルストレージ初期化関数

Parameters
workerThreadIndex[in] ワーカースレッドインデックス
Returns
成功ならtrue
Here is the call graph for this function:

◆ loadResource()

b32 GxRenderDevice::loadResource ( void )

リソースロード関数

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

◆ requestSaveUserScreenshot()

b32 GxRenderDevice::requestSaveUserScreenshot ( void )

Master用スクリーンショット保存リクエスト

Returns
成功ならtrue

◆ setAllContextPriority()

void GxRenderDevice::setAllContextPriority ( RENDER_VIEW view,
RENDER_SUB_VIEW subView,
RENDER_PASS pass,
u32 subPriority )

全コンテキストのプライオリティを設定する

Parameters
view[in] ビュー
subView[in] サブビュー
pass[in] パス
subPriority[in] サブ優先度
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFrameRateTarget()

void GxRenderDevice::setFrameRateTarget ( RENDER_FRAME_RATE frameRate)

目標フレームレートの設定

Parameters
frameRate[in] フレームレート

◆ stopRenderThread()

void GxRenderDevice::stopRenderThread ( void )

プレゼントパラメータ作成

描画スレッド停止

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unloadResource()

b32 GxRenderDevice::unloadResource ( void )

リソースアンロード関数

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

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