Class RenderObjects.RenderObjectsSettings
Settings class used for the render objects renderer feature.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
Syntax
[Serializable]
public class RenderObjects.RenderObjectsSettings
Fields
Event
Controls when the render pass executes.
Declaration
public RenderPassEvent Event
Field Value
Type | Description |
---|---|
RenderPassEvent |
cameraSettings
The camera settings to use.
Declaration
public RenderObjects.CustomCameraSettings cameraSettings
Field Value
Type | Description |
---|---|
RenderObjects.CustomCameraSettings |
depthCompareFunction
The depth comparison function to use.
Declaration
public CompareFunction depthCompareFunction
Field Value
Type | Description |
---|---|
CompareFunction |
enableWrite
Sets whether it should write to depth or not.
Declaration
public bool enableWrite
Field Value
Type | Description |
---|---|
bool |
filterSettings
The filter settings for the pass.
Declaration
public RenderObjects.FilterSettings filterSettings
Field Value
Type | Description |
---|---|
RenderObjects.FilterSettings |
overrideDepthState
Sets whether it should override depth or not.
Declaration
public bool overrideDepthState
Field Value
Type | Description |
---|---|
bool |
overrideMaterial
The override material to use.
Declaration
public Material overrideMaterial
Field Value
Type | Description |
---|---|
Material |
overrideMaterialPassIndex
The pass index to use with the override material.
Declaration
public int overrideMaterialPassIndex
Field Value
Type | Description |
---|---|
int |
overrideMode
The selected override mode.
Declaration
public RenderObjects.RenderObjectsSettings.OverrideMaterialMode overrideMode
Field Value
Type | Description |
---|---|
RenderObjects.RenderObjectsSettings.OverrideMaterialMode |
overrideShader
The override shader to use.
Declaration
public Shader overrideShader
Field Value
Type | Description |
---|---|
Shader |
overrideShaderPassIndex
The pass index to use with the override shader.
Declaration
public int overrideShaderPassIndex
Field Value
Type | Description |
---|---|
int |
passTag
The profiler tag used with the pass.
Declaration
public string passTag
Field Value
Type | Description |
---|---|
string |
stencilSettings
The stencil settings to use.
Declaration
public StencilStateData stencilSettings
Field Value
Type | Description |
---|---|
StencilStateData |