gpu_get_blendenable


描述

This function can be used to retrieve the alpha-blending state. If it returns true then alpha-blending is enabled, and if it returns false it is disabled. By default this is on and so the function will return true


语法:

gpu_get_blendenable();


Returns:

Boolean


例如:

if gpu_get_blendenable() == false
   {
   gpu_set_blendenable(true);
   }

The above code checks the state of the alpha blending and if it is disabled it is then enabled again.


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