Gets the buffer method used on the Windows target platform.





This Windows only function permits you to find out the current method for handling the game geometry vertex buffer. This can be set in the Global Game Settings Windows tab or with the function display_set_windows_vertex_buffer_method(), and will return one of the following constants:

Constant Description
vbm_fast This is the default method and is the one recommended by Nvidia - it should give the highest performance.
vbm_compatible This is the deprecated method that GameMaker: Studio used to use before adopting the fast method - poorer performance on newer machines
vbm_most_compatible This is the legacy method that was used in previous versions of GameMaker - performance is poorer than the other two, but it should be compatible with almost any machine.


if display_get_windows_vertex_buffer_method() != vbm_fast

The above code will check the current geometry method and set it to "fast" if it is not already.

Back: Windows and Views
Next: display_get_windows_alternate_sync
© Copyright YoYo Games Ltd. 2018 All Rights Reserved