D3d_set_culling - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}}
Notation
Description
Sets the 3D backface culling mode. When enabled it will stop the opposite side of a face that you do not see from being rendered. Take for instance a cube that you would never see the inside of, this cube would be a perfect example of an object to render with backface culling enabled.
Parameters
- enable Whether or not 3D culling is enabled
Return Values
No values are returned from the function.
Example Call
d3d_start();
d3d_set_culling(true);
A good place to enable culling is when you turn on 3D rendering.