Returns the current d3d device pointer.


GML Code Example


Returns: Pointer


This function will return the current d3d device pointer, which you can then (for example) pass through to a DLL.

NOTE: This function is only valid for the Windows and Mac OSX only (on Mac OSX it contains a pointer to an NSWindow class).


GML Code Example

gfx_pointer = window_device()

The above code will store the d3d device pointer in a variable.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here