Skip to main content

Module renderer

Module renderer 

Source
Expand description

Raylib window renderer and handle types.

RaylibRender owns the raylib window, drawing thread, font table, and image texture cache. It implements CotisRenderer in render_trait for crate::drawables::RaylibDrawable command streams.

Application code usually constructs a RaylibRender via RaylibRender::auto_start or RaylibRender::new, then passes it to CotisApp.

Modules§

render_trait
CotisRenderer implementations for RaylibRender.

Structs§

RayRenderHandle
Mutex-guarded wrapper around RaylibHandle.
RaylibRender
Primary raylib-backed renderer for Cotis applications.

Type Aliases§

SharedRaylibHandle
Shared, mutex-protected raylib handle used across threads for input polling.