Skip to main content

Module cotis

Module cotis 

Source
Expand description

Cotis context trait implementations for crate::renderer::RaylibRender.

Bridges Cotis’s window/frame/render context traits and text measurement to raylib:

  • CotisWindowContext (cotis_utils::traits) — screen dimensions from raylib.
  • CotisFrameContext — frame delta time.
  • CotisRenderContext — provided automatically via blanket impl when window and frame contexts are implemented.
  • RendererTextMeasuringProvider — layout text sizing via crate::functions_raylib::raylib_measure_text_inner.