mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
9 lines
507 B
TypeScript
9 lines
507 B
TypeScript
/** Platform-owned snapshot of the same composite as the submitted pixels. */
|
|
export type TextureFrame = { readonly native: object }
|
|
export type TexturePlan = { resourceCommands: Uint8Array[]; payload: Uint8Array; nextFid: number; usedBytes: number }
|
|
/** Sessions own residency; frame snapshots may be coalesced without changing it. */
|
|
export interface SessionTexturePlanner {
|
|
plan(previous: Uint8Array | null, next: Uint8Array, frame: TextureFrame, firstId: number): TexturePlan | null
|
|
reset(): void
|
|
}
|