gpu_get_cullmode


Description

This function can be used to retrieve the backface culling mode. The returned value will be one of the following constants (the default value is cull_noculling):


Syntax:

gpu_get_cullmode();


Returns:

Constant (see above for constants)


Example:

if gpu_get_cullmode() != cull_clockwise
   {
   gpu_set_cullmode(cull_clockwise);
   }

The above code gets the current cull mode and if it is not cull_clockwise it is set to that constant.


Back: GPU Functions
Next: gpu_get_blendmode
© Copyright YoYo Games Ltd. 2018 All Rights Reserved