DepthState

struct in UnityEngine.Rendering

/

Implemented in:UnityEngine.CoreModule

Description 描述

Values for the depth state.

Static Properties

defaultValueDefault values for the depth state.

Properties 属性

compareFunctionHow should depth testing be performed.
writeEnabledControls whether pixels from this object are written to the depth buffer.

Constructors

DepthStateCreates a new depth state with the given values.