Class AdditionalLightsShadowCasterPass
Renders a shadow map atlas for additional shadow-casting Lights.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal.Internal
어셈블리: solution.dll
구문
public class AdditionalLightsShadowCasterPass : ScriptableRenderPass
생성자
이름 | 설명 |
---|---|
AdditionalLightsShadowCasterPass(RenderPassEvent) | Creates a new |
메서드
이름 | 설명 |
---|---|
Configure(CommandBuffer, RenderTextureDescriptor) | This method is called by the renderer before executing the render pass.
Override this method if you need to to configure render targets and their clear state, and to create temporary render target textures.
If a render pass doesn't override this method, this render pass renders to the active Camera's render target.
You should never call CommandBuffer.SetRenderTarget. Instead call |
Dispose() | Cleans up resources used by the pass. |
Execute(ScriptableRenderContext, ref RenderingData) | Execute the pass. This is where custom rendering occurs. Specific details are left to the implementation |
GetShadowLightIndexFromLightIndex(int) | Gets the additional light index from the global visible light index, which is used to index arrays _AdditionalLightsPosition, _AdditionalShadowParams, etc. |
Setup(ref RenderingData) | Sets up the pass. |