Version: 2022.2

RendererListParams

struct in UnityEngine.Rendering

切换到手册

描述

Struct holding the arguments that are needed to create a renderers RendererList.

静态变量

InvalidReturns an empty RendererListParams.

变量

cullingResultsThe set of visible objects to draw. You typically obtain this from ScriptableRenderContext.Cull.
drawSettingsA struct that describes how to draw the objects.
filteringSettingsA struct that describes how to filter the set of visible objects, so that Unity only draws a subset.
isPassTagNameIf set to true, tagName specifies a Pass Tag. Otherwise, tagName specifies a SubShader Tag.
stateBlocksAn array of structs that describe which parts of the GPU's render state to override.
tagNameThe name of a SubShader Tag or Pass Tag.
tagValuesAn array of ShaderTagId structs, where the name is the value of a given SubShader Tag or Pass Tag.

构造函数

RendererListParamsCreate a RendererListParams struct.