Method SetDepthState
SetDepthState(bool, CompareFunction)
Sets the write and comparison function for depth.
선언
public void SetDepthState(bool writeEnabled, CompareFunction function = CompareFunction.Less)
파라미터
타입 | 이름 | 설명 |
---|---|---|
bool | writeEnabled | Sets whether it should write to depth or not. |
CompareFunction | function | The depth comparison function to use. |