[Ericsson AB]

wxGLCanvas

MODULE

wxGLCanvas

MODULE SUMMARY

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

- support@erlang.ericsson.se

wx 0.98.3
Copyright © 1991-2009 Ericsson AB