Version: 2017.1
Experimental: this API is experimental and might be changed or removed in the future.

DrawRendererSettings

struct in UnityEngine.Experimental.Rendering

切换到手册

描述

Settings for RenderLoop.DrawRenderers.

DrawRendererSettings describes which subset of visible objects to render (inputFilter), how to sort them (sorting) and which shader pass to use (shaderPassName).

See Also: RenderLoop.DrawRenderers, CullResults.Cull.

变量

cullResults要使用的剔除结果。
flags控制对象渲染的其他标志。
inputFilterWhich subset of visible objects to render.
rendererConfiguration要在渲染期间设置的每对象数据的类型。
shaderPassName要使用的着色器通道。
sorting如何在渲染期间对对象进行排序。

构造函数

DrawRendererSettings创建绘制设置结构。