Class SkyRenderer
Base class for sky rendering.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
public abstract class SkyRenderer
필드
| 이름 | 설명 |
|---|---|
| SupportDynamicSunLight | Determines if the sky should be rendered when the sun light changes. |
메서드
| 이름 | 설명 |
|---|---|
| Build() | Called on startup. Create resources used by the renderer (shaders, materials, etc). |
| Cleanup() | Called on cleanup. Release resources used by the renderer. |
| GetSkyIntensity(SkySettings, DebugDisplaySettings) | Returns exposure setting for the provided SkySettings. |
| PreRenderSky(BuiltinSkyParameters) | Preprocess for rendering the sky. Called before the DepthPrePass operations |
| PreRenderSky(BuiltinSkyParameters, bool, bool) | Preprocess for rendering the sky. Called before the DepthPrePass operations |
| RenderSky(BuiltinSkyParameters, bool, bool) | Implements actual rendering of the sky. HDRP calls this when rendering the sky into a cubemap (for lighting) and also during main frame rendering. |
| RequiresPreRenderSky(BuiltinSkyParameters) | Whether the PreRenderSky step is required. |
| SetGlobalSkyData(CommandBuffer, BuiltinSkyParameters) | Setup global parameters for the sky renderer. |
| Update(BuiltinSkyParameters) | 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). |