Method SetDepthState
SetDepthState(bool, CompareFunction)
Sets the write and comparison function for depth.
Declaration
public void SetDepthState(bool writeEnabled, CompareFunction function = CompareFunction.Less)
Parameters
Type | Name | Description |
---|---|---|
bool | writeEnabled | Sets whether it should write to depth or not. |
CompareFunction | function | The depth comparison function to use. |