MyOpenglWidget

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

animate
void animate(long interval)

animates window; interval is time left from previous draw, in hnsecs (1/10000000 of second)

drawUsingNewAPI
void drawUsingNewAPI(Rect rc)

New API example (OpenGL3+, shaders)

drawUsingOldAPI
void drawUsingOldAPI(Rect rc)

Legacy API example (glBegin/glEnd)

Properties

animating
bool animating [@property getter]

returns true is widget is being animated - need to call animate() and redraw

Variables

_oldApi
bool _oldApi;
Undocumented in source.

Meta