Struct RenderingData
Struct that flattens several rendering settings used to render a camera stack.
URP builds the RenderingData
settings from several places, including the pipeline asset, camera and light settings.
The settings also might vary on different platforms and depending on if Adaptive Performance is used.
Inherited Members
Namespace: UnityEngine .Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
public struct RenderingData
Fields
Name | Description |
---|---|
camera |
Holds several rendering settings related to camera.
Camera |
cull |
Returns culling results that exposes handles to visible objects, lights and probes.
You can use this to draw objects with |
light |
Holds several rendering settings related to lights.
Light |
per |
Holds per-object data that are requested when drawing
Per |
post |
Holds several rendering settings and resources related to the integrated post-processing stack.
Post |
post |
True if post-processing effect is enabled while rendering the camera stack. |
shadow |
Holds several rendering settings related to shadows.
Shadow |
supports |
True if the pipeline supports dynamic batching. This settings doesn't apply when drawing shadow casters. Dynamic batching is always disabled when drawing shadow casters. |