Documentation
¶
Rendered for js/wasm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func New ¶
func New(canvas *wasmdraw.CanvasElement, context *webgl.Context, additional ...Example) (app *Application, err error)
New creates the shared WebGL showcase and appends renderer-specific examples.
func (*Application) Draw ¶
func (a *Application) Draw(dt, width, height float64)
Click to show internal directories.
Click to hide internal directories.