Cursor

Wrapper around GLFWcursor struct

Constructors

this
this()

Creates basic arrow cursor

this
this(int shape)

Creates cursor with standard shape.

this
this(const(GLFWimage)* img, int xhot, int yhot)

Creates cursor with non-standard shape.

Destructor

~this
~this()

Destroys cursor

Members

Functions

destroy
void destroy()

Destroys current cursor

ptr
GLFWcursor* ptr()

It can be used to direct access to glfw3 functions.

Meta