GM: d3d set culling
From GMpedia.org Wiki
- The correct title of this article is GM: d3d_set_culling. It appears incorrectly here because of technical restrictions.
|
d3d_set_culling | |
| Type: | function |
| Arguments: | 1: enabled |
| Limitations: | Registered |
The d3d_set_culling() function in Game Maker enables or disables the use of backface culling.
Use:
d3d_set_culling(1);
This piece of code enables backface culling. The backside of triangles is no longer drawn.

