wxGLCanvas

See external documentation: wxGLCanvas.

See external documentation: wxGLCanvas.

This class is derived (and can use functions) from:
wxWindow
wxEvtHandler

Functions


new(Parent) -> wxGLCanvas()

Equivalent to new(Parent, []).

new(Parent, Shared) -> wxGLCanvas()

See external documentation.
Also:
new(Parent, [Option]) -> wxGLCanvas() when
Parent::wxWindow:wxWindow(),
Option :: {'id', integer()}
| {'pos', {X::integer(), Y::integer()}}
| {'size', {W::integer(), H::integer()}}
| {'style', integer()}
| {'name', unicode:chardata()}
| {'attribList', [integer()]}
| {'palette', wxPalette:wxPalette()}.

new(Parent, Shared, Options::[Option]) -> wxGLCanvas()

See external documentation.

getContext(This) -> wx:wx_object()

See external documentation.

setCurrent(This) -> ok

See external documentation.

swapBuffers(This) -> ok

See external documentation.

destroy(This::wxGLCanvas()) -> ok

Destroys this object, do not use object again