GPGPUシステムクラス
More...
#include <GxSysEnvironment.h>
|
|
| GxSysGpgpu (void) |
| コンストラクタ
|
|
| ~GxSysGpgpu (void) override |
| デストラクタ
|
|
|
constexpr GxRenderTexture * | getRandomTexture (s32 index) const |
| ランダムテクスチャを取得
|
|
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) |
| スリープ(スクリプト用)
|
|
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 | 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 ¶m) |
| パーリンノイズを計算
|
|
void | computeNormalAndHeight (GxRenderTexture *pHeightTexture, f32 normalScale) |
| 法線と高さを計算
|
|
◆ beginCompute()
コンピュート開始
- Parameters
-
pTexture | [in] 描画テクスチャ |
computeName | [in] 名前 |
- Returns
- 成功ならtrue
◆ computeNormalAndHeight()
void GxSysGpgpu::computeNormalAndHeight |
( |
GxRenderTexture * | pHeightTexture, |
|
|
f32 | normalScale ) |
法線と高さを計算
- Parameters
-
pHeightTexture | [in] ハイトマップ |
normalScale | [in] 法線 |
◆ computePerlinNoise() [1/3]
◆ 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] オリジナル値 |
◆ 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] シード |
The documentation for this class was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysEnvironment.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxSysEnvironment.cpp