gpu_set_state

This function will set the current GPU state using the passed-in DS Map. The supplied map can be created using the function gpu_get_state().

 

Syntax:

gpu_set_state(ds_map);

ArgumentTypeDescription
ds_mapDS MapThe GPU state to set as a DS Map.

 

Returns:

N/A

 

Example:

gpu_set_state(gpu_map);

The above code sets the GPU state using the map supplied in the variable "gpu_map".