Class ISkyRenderer
Interface for objects that can render custom sky
Inheritance
ISkyRenderer
Assembly: FlaxEngine.dll
File: Engine/Renderer/DrawCall.h
Syntax
public class ISkyRenderer
Methods
ApplySky(GPUContext* context, RenderContext& renderContext, const Matrix& world)
Apply sky material/shader state to the GPU pipeline with custom parameters set (render to GBuffer).
Declaration
public virtual void ApplySky(GPUContext* context, RenderContext& renderContext, const Matrix& world) = 0
Parameters
GPUContext
context
The context responsible for rendering commands. |
RenderContext
renderContext
The rendering context. |
Matrix
world
The world matrix to use during sky model vertices transformations. |
GetIndirectLightingIntensity()
Declaration
public virtual float GetIndirectLightingIntensity() const = 0
Returns
float
|
IsDynamicSky()
Returns true if sky is realtime, otherwise it's static.
Declaration
public virtual bool IsDynamicSky() const = 0
Returns
bool
|