API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceDrawContext

@codexo/exojs / rendering / stable

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.

1
props
5
methods
0
events
Import
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.

Methods5
Properties1
backend: RenderBackend
Raw backend - draws/state only; do NOT switch target/view/clear here.
Source