Class SkyRenderer
Base class for sky rendering.
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public abstract class SkyRenderer
Fields
Name | Description |
---|---|
Support |
Determines if the sky should be rendered when the sun light changes. |
Methods
Name | Description |
---|---|
Build() | Called on startup. Create resources used by the renderer (shaders, materials, etc). |
Cleanup() | Called on cleanup. Release resources used by the renderer. |
Get |
Returns exposure setting for the provided SkySettings. |
Pre |
Preprocess for rendering the sky. Called before the DepthPrePass operations |
Pre |
Preprocess for rendering the sky. Called before the DepthPrePass operations |
Render |
Implements actual rendering of the sky. HDRP calls this when rendering the sky into a cubemap (for lighting) and also during main frame rendering. |
Requires |
Whether the PreRenderSky step is required or not. |
Requires |
Whether the PreRenderSky step is required. |
Set |
Setup global parameters for the sky renderer. |
Update(Builtin |
HDRP calls this function once every frame. Implement it if your SkyRenderer needs to iterate independently of the user defined update frequency (see SkySettings UpdateMode). |