d3d_set_hidden(enable)
Argument | Description |
---|---|
enable | Enables (true) or disables (false) depth testing |
Returns: N/A
When enabled this function performs depth tests on all surfaces
and removes those that are hidden in the current projection.
d3d_set_hidden(true);
The above code switches on hidden surface removal.