d3d_set_hidden

This function is used to enable or disable depth testing.

Syntax:

d3d_set_hidden(enable)


Argument Description
enable Enables (true) or disables (false) depth testing


Returns: N/A


Description

When enabled this function performs depth tests on all surfaces and removes those that are hidden in the current projection.


Example:

d3d_set_hidden(true);

The above code switches on hidden surface removal.


Back: 3D Setup
Next: d3d_set_perspective
© Copyright YoYo Games Ltd. 2018 All Rights Reserved