Class IFogRenderer
Interface for objects that can render custom fog/atmosphere
Inheritance
IFogRenderer
Assembly: FlaxEngine.dll
File: Engine/Renderer/DrawCall.h
Syntax
public class IFogRenderer
Methods
DrawFog(GPUContext* context, RenderContext& renderContext, GPUTextureView* output)
Draw fog using GBuffer inputs
Declaration
public virtual void DrawFog(GPUContext* context, RenderContext& renderContext, GPUTextureView* output) = 0
Parameters
GPUContext
context
Context responsible for rendering commands |
RenderContext
renderContext
The rendering context. |
GPUTextureView
output
Output buffer |
GetExponentialHeightFogData(const RenderView& view, ShaderExponentialHeightFogData& result)
Gets the exponential height fog data.
Declaration
public virtual void GetExponentialHeightFogData(const RenderView& view, ShaderExponentialHeightFogData& result) const = 0
Parameters
RenderView
view
The rendering view. |
ShaderExponentialHeightFogData
result
The result. |
GetVolumetricFogOptions(VolumetricFogOptions& result)
Gets the volumetric fog options.
Declaration
public virtual void GetVolumetricFogOptions(VolumetricFogOptions& result) const = 0
Parameters
VolumetricFogOptions
result
The result. |