Struct RendererListDesc
Renderer list creation descriptor.
Namespace: UnityEngine.Experimental.Rendering
Syntax
[Obsolete("Use the updated RendererList API which is defined in the UnityEngine.Rendering.RendererUtils namespace.")]
public struct RendererListDesc
Constructors
RendererListDesc(ShaderTagId, CullingResults, Camera)
RendererListDesc constructor
Declaration
public RendererListDesc(ShaderTagId passName, CullingResults cullingResult, Camera camera)
Parameters
Type | Name | Description |
---|---|---|
ShaderTagId | passName | Pass name used for this renderer list. |
CullingResults | cullingResult | Culling result used to create the renderer list. |
Camera | camera | Camera used to determine sorting parameters. |
RendererListDesc(ShaderTagId[], CullingResults, Camera)
RendererListDesc constructor
Declaration
public RendererListDesc(ShaderTagId[] passNames, CullingResults cullingResult, Camera camera)
Parameters
Type | Name | Description |
---|---|---|
ShaderTagId[] | passNames | List of pass names used for this renderer list. |
CullingResults | cullingResult | Culling result used to create the renderer list. |
Camera | camera | Camera used to determine sorting parameters. |
Fields
excludeObjectMotionVectors
Exclude object with motion from this renderer list.
Declaration
public bool excludeObjectMotionVectors
Field Value
Type | Description |
---|---|
Boolean |
layerMask
Rendering layer mask used for filtering this renderer list.
Declaration
public int layerMask
Field Value
Type | Description |
---|---|
Int32 |
overrideMaterial
Override material for this renderer list.
Declaration
public Material overrideMaterial
Field Value
Type | Description |
---|---|
Material |
overrideMaterialPassIndex
Pass index for the override material.
Declaration
public int overrideMaterialPassIndex
Field Value
Type | Description |
---|---|
Int32 |
rendererConfiguration
PerObjectData configuration for this renderer list.
Declaration
public PerObjectData rendererConfiguration
Field Value
Type | Description |
---|---|
PerObjectData |
renderQueueRange
RenderQueueRange of this renderer list.
Declaration
public RenderQueueRange renderQueueRange
Field Value
Type | Description |
---|---|
RenderQueueRange |
sortingCriteria
SortingCriteria for this renderer list.
Declaration
public SortingCriteria sortingCriteria
Field Value
Type | Description |
---|---|
SortingCriteria |
stateBlock
Optional RenderStateBlock for this renderer list.
Declaration
public RenderStateBlock? stateBlock
Field Value
Type | Description |
---|---|
Nullable<RenderStateBlock> |
Methods
IsValid()
Returns true if the descriptor is valid.
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
Boolean | True if the descriptor is valid. |