13GX_SHADER_NAMESPACE_BEGIN()
33 DISTANCE_WITH_WORLD_HEIGHT,
38 GX_ENUM_TABLE_MAX(FOG_TYPE)
62 , _startDistance(1.0f)
63 , _endDistance(2000.0f)
66 , _densityDistance(0.05f)
67 , _densityHeight(0.05f)
68 , _color(0.10f, 0.47f, 0.65f, 1.0f)
69 , _rayleighWeight(1.0f)
105 void cleanup(
void)
override;
114 void forceAsyncUpdate(
void)
override;
133 GxParameter _parameter;
138GX_SHADER_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
ユニット基礎クラス
Definition GxUnitBase.h:45
フォグクラス
Definition GxUnitFog.h:19
GX_FORCE_INLINE const GxParameter & getParameter(void) const
パラメータを取得
Definition GxUnitFog.h:123
GX_FORCE_INLINE void setParameter(const GxParameter ¶meter)
パラメータを設定
Definition GxUnitFog.h:125
FOG_TYPE
フォグタイプ
Definition GxUnitFog.h:31
色(HDR)
Definition GxColor.h:241
パラメータ構造体
Definition GxUnitFog.h:43
FOG_TYPE _type
タイプ
Definition GxUnitFog.h:81
f32 _startHeight
開始高さ
Definition GxUnitFog.h:84
f32 _startDistance
開始距離
Definition GxUnitFog.h:82
f32 _rayleighWeight
レイリー散乱係数
Definition GxUnitFog.h:89
f32 _mieWeight
ミー散乱係数
Definition GxUnitFog.h:90
f32 _densityDistance
距離密度
Definition GxUnitFog.h:86
b32 _enable
有効/無効
Definition GxUnitFog.h:79
f32 _height
高さ
Definition GxUnitFog.h:85
b32 _enableLight
ライトの影響有効/無効
Definition GxUnitFog.h:80
GxColorHDR _color
カラー
Definition GxUnitFog.h:88
f32 _densityHeight
高さ密度
Definition GxUnitFog.h:87
f32 _endDistance
終了距離
Definition GxUnitFog.h:83
32bitブーリアン
Definition GxDefine.h:173