API reference

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

I

interfaceDataTextureDirtyRegion

@codexo/exojs / rendering / stable

A region of the buffer marked for upload by the next backend sync. Bounds are pixel coordinates with origin at the top-left. The instance DataTexture._consumeDirtyRegion hands out is the texture's own long-lived record, reused across consume cycles - read it inside the sync pass that consumed it and do not retain it.

5
props
0
methods
0
events
Import
import { DataTextureDirtyRegion } from '@codexo/exojs'

A region of the buffer marked for upload by the next backend sync. Bounds are pixel coordinates with origin at the top-left.

The instance DataTexture._consumeDirtyRegion hands out is the texture's own long-lived record, reused across consume cycles - read it inside the sync pass that consumed it and do not retain it.

Properties5
full: boolean
Whether the whole texture should be re-uploaded (covers initial alloc and full DataTexture.commit).
height: number
width: number
x: number
y: number
Source