API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceDrawContext
The shared rendering verbs that act on the active render target. Implemented by the frame-level RenderingContext (active target = the canvas by default) and the pass-scoped `PassContext` (active target = the pass target). Every verb operates on the *active* target and never resets the active view, so it is safe inside a pass redirect. Use backend only for raw draws or GPU state - never to switch target/view/clear, which would bypass the coordinator's clear-vs-load handling.
import { DrawContext } from '@codexo/exojs'The shared rendering verbs that act on the active render target. Implemented by the frame-level RenderingContext (active target = the canvas by default) and the pass-scoped `PassContext` (active target = the pass target).
Every verb operates on the *active* target and never resets the active view, so it is safe inside a pass redirect. Use backend only for raw draws or GPU state - never to switch target/view/clear, which would bypass the coordinator's clear-vs-load handling.
drawGeometry(geometry: GeometryNon-renderable geometry data object used by advanced rendering paths. Geometry owns only vertex/index data and its layout metadata; it is not a scene node, has…, transform: MatrixMutable 3×3 row-major affine transformation matrix used throughout the rendering and physics pipeline. Layout (row, column): ``` | a b x | | c d y | | e f z |…, options?: DrawGeometryOptionsOptions for RenderingContext.drawGeometry.): voidrenderTo(node: RenderNodeSceneNode that can produce visual output. Adds the rendering pipeline features on top of the structural transform/bounds carried by SceneNode: post-process `fi…, options: RenderToOptionsOptions for DrawContext.renderTo: a caller-owned, per-frame off-screen target, reused across frames (no per-call allocation). Unlike RenderingContext.capture,…): voidbackend: RenderBackend