gpu_get_cullmode


描述

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):


语法:

gpu_get_cullmode();


返回:

Constant (see above for constants)


例如:

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.


上一页: GPU Functions
下一页: gpu_get_blendmode
© Copyright YoYo Games Ltd. 2018 All Rights Reserved