Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateRendererList

Creates a new renderers RendererList.
Read time 1 minuteLast updated 6 days ago

Definition

CreateRendererList(RendererListDesc)

Creates a new renderers RendererList.
public RendererList CreateRendererList(RendererListDesc desc)

Parameters

A high level descriptor that represents the set of GameObjects the RendererList contains.

Returns

Type

Description

RendererListReturns a new RendererList based on the descriptor or parameters you pass in.

Remarks

A RendererList represents a set of visible GameObjects. To draw the GameObjects in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.

CreateRendererList(RendererListParams)

Creates a new renderers RendererList.
public RendererList CreateRendererList(ref RendererListParams param)

Parameters

The parameters used to derive the set of GameObjects the RendererList contains.

Returns

Type

Description

RendererListReturns a new RendererList based on the descriptor or parameters you pass in.

Remarks

A RendererList represents a set of visible GameObjects. To draw the GameObjects in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.