This function pops the previous GPU state from the stack and applies it. See gpu_push_state for more information.
gpu_pop_state();
N/A(无返回值)
gpu_push_state();
gpu_set_blendmode(bm_add);
gpu_set_blendenable(false);
gpu_set_cullmode(true);
with (obj_Effect_Parent)
{
draw_self();
}
gpu_pop_state();
The above code will "save" the current GPU state on the stack, then change certain GPU settings and draw a group of instances before resetting the GPU state to what it was previously.