wxglcanvas(3) - Linux man page

Name

wxGLCanvas - See external documentation: wxGLCanvas.

Description

See external documentation: wxGLCanvas.

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

Data Types

wxGLCanvas():

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

new(Parent::wxWindow() (see module wxWindow)) -> wxGLCanvas()

Equivalent to new(Parent, []).

new(Parent::wxWindow() (see module wxWindow), X::term()) -> wxGLCanvas()

See external documentation.
Alternatives:

new(Parent::wxWindow:wxWindow(), Shared::wxGLContext:wxGLContext() | wxGLCanvas()) -> new(Parent,Shared, [])

new(Parent::wxWindow:wxWindow(), [Option]) -> wxGLCanvas()
Option = {id, integer()} | {pos, {X::integer(),Y::integer()}} | {size, {W::integer(),H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette:wxPalette()}

new(Parent::wxWindow() (see module wxWindow), Shared::wxGLContext() (see module wxGLContext) | wxGLCanvas(), Options::[Option]) -> wxGLCanvas()

Types:

Option = {id, integer()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} | {name, string()} | {attribList, [integer()]} | {palette, wxPalette() (see module wxPalette)}

See external documentation.

getContext(This::wxGLCanvas()) -> wxGLContext() (see module wxGLContext)

See external documentation.

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

See external documentation.

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

See external documentation.

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

Destroys this object, do not use object again

Authors

<>