Refactor shader structures naming with a prefix

This commit is contained in:
Wojtek Figat
2024-03-25 17:52:48 +01:00
parent 0e00f1e0eb
commit cdbb2cc813
25 changed files with 66 additions and 66 deletions

View File

@@ -144,7 +144,7 @@ void ExponentialHeightFog::GetVolumetricFogOptions(VolumetricFogOptions& result)
result.FogParameters = Float4(density, height, heightFalloff, 0.0f);
}
void ExponentialHeightFog::GetExponentialHeightFogData(const RenderView& view, ExponentialHeightFogData& result) const
void ExponentialHeightFog::GetExponentialHeightFogData(const RenderView& view, ShaderExponentialHeightFogData& result) const
{
const float height = (float)GetPosition().Y;
const float density = FogDensity / 1000.0f;
@@ -180,8 +180,8 @@ void ExponentialHeightFog::GetExponentialHeightFogData(const RenderView& view, E
}
PACK_STRUCT(struct Data {
GBufferData GBuffer;
ExponentialHeightFogData ExponentialHeightFog;
ShaderGBufferData GBuffer;
ShaderExponentialHeightFogData ExponentialHeightFog;
});
void ExponentialHeightFog::DrawFog(GPUContext* context, RenderContext& renderContext, GPUTextureView* output)