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

GPGPUシステムクラス More...

#include <GxSysEnvironment.h>

Inheritance diagram for GxSysGpgpu:
Collaboration diagram for GxSysGpgpu:

Classes

class  BlockDraw
 描画終了ブロッククラス More...
 

Public Member Functions

初期化
 GxSysGpgpu (void)
 コンストラクタ
 
 ~GxSysGpgpu (void) override
 デストラクタ
 
アクセサ
constexpr GxRenderTexturegetRandomTexture (s32 index) const
 ランダムテクスチャを取得
 
- Public Member Functions inherited from GxSysBase
template<typename T >
T * getModule (void) const
 モジュールを取得
 
 GxSysBase (void)
 デフォルトコンストラクタ
 
 ~GxSysBase (void) override
 デストラクタ
 
virtual b32 initialize (const GxClassBase *pInitialiInformation=nullptr)
 初期化
 
virtual void terminate (void)
 終了処理
 
virtual void update (void)
 更新
 
b32 isLocked (void)
 クリティカルセクションのロック状態を確認する
 
void sleep (f32 time)
 スリープ(スクリプト用)
 
- 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< GxSysGpgpu >
 SingletonBase (void)
 コンストラクタ
 
 ~SingletonBase (void)
 デストラクタ
 

操作

void startUsing (void)
 使用開始
 
void endUsing (void)
 使用終了
 
b32 beginCompute (GxRenderTexture *pTarget, const GxString &computeName)
 コンピュート開始

 
void endCompute (void)
 コンピュート終了
 
void computePerlinNoise (s32 startOctave, s32 endOctave, f32 amplitude, f32 persistence, f32 base, const GxVector2 *pOrigin)
 パーリンノイズを計算
 
void computePerlinNoise (s32 startOctave, s32 endOctave, f32 amplitude, f32 persistence, f32 base, u16 seed)
 パーリンノイズを計算
 
void computePerlinNoise (const PerlinNoiseParam &param)
 パーリンノイズを計算
 
void computeNormalAndHeight (GxRenderTexture *pHeightTexture, f32 normalScale)
 法線と高さを計算
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Member Functions inherited from SingletonBase< GxSysGpgpu >
static GX_FORCE_INLINE GxSysGpgpugetSingleton (void)
 参照を取得
 
static constexpr GxSysGpgpugetSingletonPointer (void)
 ポインタを取得
 
- Protected Types inherited from GxSysBase
enum class  LOCK_TYPE { SEQUENTIAL_THREAD_SAFE , THREAD_SAFE }
 ロックタイプ More...
 
- Protected Member Functions inherited from GxSysBase
void terminateGxModules (void)
 GXモジュールの終了処理
 
void lock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションに入る
 
void unlock (LOCK_TYPE type=LOCK_TYPE::THREAD_SAFE)
 クリティカルセクションを出る
 
template<typename T >
T * addModule (void)
 モジュールを作成
 
template<typename T >
void removeModule (void)
 モジュールを削除
 

Detailed Description

GPGPUシステムクラス

Member Function Documentation

◆ beginCompute()

b32 GxSysGpgpu::beginCompute ( GxRenderTexture * pTexture,
const GxString & computeName )

コンピュート開始

Parameters
pTexture[in] 描画テクスチャ
computeName[in] 名前
Returns
成功ならtrue
Here is the call graph for this function:

◆ computeNormalAndHeight()

void GxSysGpgpu::computeNormalAndHeight ( GxRenderTexture * pHeightTexture,
f32 normalScale )

法線と高さを計算

Parameters
pHeightTexture[in] ハイトマップ
normalScale[in] 法線
Here is the call graph for this function:

◆ computePerlinNoise() [1/3]

void GxSysGpgpu::computePerlinNoise ( const PerlinNoiseParam & param)

パーリンノイズを計算

Parameters
param[in] ノイズパラメータ
Here is the call graph for this function:

◆ computePerlinNoise() [2/3]

void GxSysGpgpu::computePerlinNoise ( s32 startOctave,
s32 endOctave,
f32 amplitude,
f32 persistence,
f32 base,
const GxVector2 * pOrigin )

パーリンノイズを計算

Parameters
startOctave[in] 開始オクターブ
endOctave[in] 終了オクターブ
amplitude[in] アンプリテュード
persistence[in] パーシスタンス
base[in] ベース値
pOrigin[in] オリジナル値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ computePerlinNoise() [3/3]

void GxSysGpgpu::computePerlinNoise ( s32 startOctave,
s32 endOctave,
f32 amplitude,
f32 persistence,
f32 base,
u16 seed )

パーリンノイズを計算

Parameters
startOctave[in] 開始オクターブ
endOctave[in] 終了オクターブ
amplitude[in] アンプリテュード
persistence[in] パーシスタンス
base[in] ベース値
seed[in] シード
Here is the call graph for this function:

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