Documentation ¶
Rendered for js/wasm
Overview ¶
Package web provides implementation of web frontend.
Index ¶
- type Frontend
- func (f *Frontend) CommencePanic(reason, msg string)
- func (f *Frontend) Execute(item dispatch.WorkItem)
- func (f *Frontend) GetApp() *frontend.App
- func (f *Frontend) GetContext() frontend.Context
- func (f *Frontend) GetLaunchArgs() a.SiMap
- func (f *Frontend) GetMessageDispatcher() dispatch.MessageDispatcher
- func (f *Frontend) GetPlatform() common.Platform
- func (f *Frontend) GetRenderer() *rendering.ARenderer
- func (f *Frontend) GetResourceManager() frontend.ResourceManager
- func (f *Frontend) GetWorkDispatcher() dispatch.WorkDispatcher
- func (f *Frontend) Init()
- func (f *Frontend) Run()
- func (f *Frontend) SendMessage(message *dispatch.Message)
- func (f *Frontend) SetEngineDispatcher(disp dispatch.MessageDispatcher)
- type P5PrimitiveRendererDelegate
- func (r *P5PrimitiveRendererDelegate) OnRemovePrimitive(ctx *rendering.PrimitiveRenderingContext)
- func (r *P5PrimitiveRendererDelegate) OnRender(ctx *rendering.PrimitiveRenderingContext)
- func (r *P5PrimitiveRendererDelegate) OnSetPrimitive(ctx *rendering.PrimitiveRenderingContext)
- func (r *P5PrimitiveRendererDelegate) OnStart()
- func (r *P5PrimitiveRendererDelegate) OnStop()
- type P5RendererDelegate
- type ResourceManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frontend ¶
type Frontend struct {
// contains filtered or unexported fields
}
func NewFrontend ¶
func NewFrontend() *Frontend
func (*Frontend) CommencePanic ¶
func (*Frontend) GetContext ¶
func (*Frontend) GetLaunchArgs ¶ added in v0.1.7
func (*Frontend) GetMessageDispatcher ¶ added in v0.2.1
func (f *Frontend) GetMessageDispatcher() dispatch.MessageDispatcher
func (*Frontend) GetPlatform ¶
func (*Frontend) GetRenderer ¶
func (*Frontend) GetResourceManager ¶
func (f *Frontend) GetResourceManager() frontend.ResourceManager
func (*Frontend) GetWorkDispatcher ¶ added in v0.2.1
func (f *Frontend) GetWorkDispatcher() dispatch.WorkDispatcher
func (*Frontend) SendMessage ¶ added in v0.2.1
func (*Frontend) SetEngineDispatcher ¶ added in v0.2.1
func (f *Frontend) SetEngineDispatcher(disp dispatch.MessageDispatcher)
type P5PrimitiveRendererDelegate ¶ added in v0.2.0
type P5PrimitiveRendererDelegate struct {
// contains filtered or unexported fields
}
func (*P5PrimitiveRendererDelegate) OnRemovePrimitive ¶ added in v0.2.0
func (r *P5PrimitiveRendererDelegate) OnRemovePrimitive(ctx *rendering.PrimitiveRenderingContext)
func (*P5PrimitiveRendererDelegate) OnRender ¶ added in v0.2.0
func (r *P5PrimitiveRendererDelegate) OnRender(ctx *rendering.PrimitiveRenderingContext)
func (*P5PrimitiveRendererDelegate) OnSetPrimitive ¶ added in v0.2.0
func (r *P5PrimitiveRendererDelegate) OnSetPrimitive(ctx *rendering.PrimitiveRenderingContext)
func (*P5PrimitiveRendererDelegate) OnStart ¶ added in v0.2.0
func (r *P5PrimitiveRendererDelegate) OnStart()
func (*P5PrimitiveRendererDelegate) OnStop ¶ added in v0.2.0
func (r *P5PrimitiveRendererDelegate) OnStop()
type P5RendererDelegate ¶ added in v0.2.0
type P5RendererDelegate struct {
// contains filtered or unexported fields
}
func (*P5RendererDelegate) OnClear ¶ added in v0.2.0
func (r *P5RendererDelegate) OnClear()
func (*P5RendererDelegate) OnPerformRenderingEnd ¶ added in v0.2.0
func (r *P5RendererDelegate) OnPerformRenderingEnd()
func (*P5RendererDelegate) OnPerformRenderingStart ¶ added in v0.2.0
func (r *P5RendererDelegate) OnPerformRenderingStart()
func (*P5RendererDelegate) OnPrepare ¶ added in v0.2.0
func (r *P5RendererDelegate) OnPrepare()
func (*P5RendererDelegate) OnStop ¶ added in v0.2.0
func (r *P5RendererDelegate) OnStop()
type ResourceManager ¶
type ResourceManager struct {
// contains filtered or unexported fields
}
func (*ResourceManager) FullPathOf ¶ added in v0.1.1
func (r *ResourceManager) FullPathOf(id a.ResId) string
func (*ResourceManager) RegisterResource ¶
func (r *ResourceManager) RegisterResource(path string)
Click to show internal directories.
Click to hide internal directories.