Versions in this module Expand all Collapse all v0 v0.1.0 Aug 9, 2023 Changes in this version + func NewEngine() lib.Engine + func NewRenderTransaction(drawEvent bus.DrawEvent, textEvent bus.TextEvent, mediaCache MediaCache, ...) renderData + type MediaCache interface + CacheFonts func(event lib.Font) + CacheImages func(event bus.DrawLayersEvent) + GetAudio func(fileName string) *rl.Sound + GetFont func(fontName string) *rl.Font + GetImage func(img string) *rl.Image + func NewMediaCache() MediaCache + type MediaCacheData struct + func (c *MediaCacheData) CacheFonts(evt lib.Font) + func (c *MediaCacheData) CacheImages(evt bus.DrawLayersEvent) + func (c *MediaCacheData) GetAudio(fileName string) *rl.Sound + func (c *MediaCacheData) GetFont(fontName string) *rl.Font + func (c *MediaCacheData) GetImage(img string) *rl.Image + type RaylibPeerController interface + GetAudioEvent func() bus.AudioEvent + GetControlEvents func() []bus.ControlEvent + GetDrawEvent func() bus.DrawEvent + GetKeysRegistrationEvent func() bus.KeysRegistrationEvent + GetTextEvent func() bus.TextEvent + func NewRaylibPeerController() RaylibPeerController + type RenderPipelineData struct + func (r *RenderPipelineData) Add(function renderingPipelineFunction) RendererPipeline + func (r *RenderPipelineData) Execute(transaction *renderData) + type RenderTransaction interface + GetDrawEvent func() bus.DrawEvent + GetMediaCache func() MediaCache + GetPreviousTexture func() *rl.Texture2D + GetRenderImage func() *rl.Image + GetRenderTexture func() *rl.Texture2D + GetTextEvent func() bus.TextEvent + SetDrawEvent func(event bus.DrawEvent) + SetMediaCache func(MediaCache) + SetPreviousTexture func(*rl.Texture2D) + SetRenderImage func(*rl.Image) + SetRenderTexture func(*rl.Texture2D) + SetTextEvent func(evt bus.TextEvent) + type RendererPipeline interface + Add func(function renderingPipelineFunction) RendererPipeline + Execute func(transaction *renderData) + func NewRendererPipeline() RendererPipeline