wxGLCanvas

See external documentation: wxGLCanvas.

See external documentation: wxGLCanvas.

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

Types


wxGLCanvas() = wx:wx_object()

Functions


new(Parent) -> wxGLCanvas()

  • Parent = wxWindow() (see module wxWindow)

Equivalent to new(Parent, []).

new(Parent, Shared) -> wxGLCanvas()

  • Parent = wxWindow() (see module wxWindow)
  • Shared = wx_object() (see module wx) | 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, Option::[Option]) -> wxGLCanvas()

  • Parent = wxWindow() (see module wxWindow)
  • Shared = wx_object() (see module wx) | wxGLCanvas()
  • Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, chardata() (see module unicode)} | {attribList, [integer()]} | {palette, wxPalette() (see module wxPalette)}

See external documentation.

getContext(This) -> wx_object() (see module wx)

  • This = wxGLCanvas()

See external documentation.

setCurrent(This) -> ok

  • This = wxGLCanvas()

See external documentation.

swapBuffers(This) -> ok

  • This = wxGLCanvas()

See external documentation.

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

Destroys this object, do not use object again