DepthState(bool, CompareFunction)
Creates a new depth state with the given values.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Constructor
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public DepthState(bool writeEnabled = true, CompareFunction compareFunction = CompareFunction.Less)
Parameters
Controls whether pixels from this object are written to the depth buffer.
How should depth testing be performed.