gpu_get_state


Description

This function will get the current GPU state, returning it as a ds_map. This can then be manipulated or even saved, and you can return this map to the GPU using the function gpu_set_state.


Syntax:

gpu_get_state();


Returns:

ds_map


Example:

gpu_map = gpu_get_state();

The above code stores the current GPU state in a variable.


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