Version: 2023.2

StandardRequest

class in UnityEngine.Rendering

切换到手册

描述

Standard request type for RenderPipeline.SubmitRenderRequest.

Default render request type. Renders the active render pipeline into the given destination and specified face, mip and/or slice.

SRP Compatibility: URP: Renders a full URP camera stack. Only works on base cameras. To render a single camera in a stack, use UniversalRenderPipeline.SingleCameraRequest. HDRP: Renders an HDRP camera without Arbitrary Output Variables (AOVs). Refer to Render requests for more information about render requests in scriptable render pipelines (SRPs).

Additional resources: RenderPipeline.SubmitRenderRequest, RenderPipeline.SupportsRenderRequest.

变量

destinationRenderTexture to store the rendering result of the request.
faceTarget Cubemap face to store the rendering result.
mipLevelTarget mipLevel to store the rendering output.
sliceTarget slice to store the rendering output.