MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / commitTexture

Function commitTexture

src/textures/index.ts:133–138  ·  view source on GitHub ↗
(stagingHandle: number)

Source from the content-addressed store, hash-verified

131}
132
133export function commitTexture(stagingHandle: number): Texture {
134 const id = bloom_commit_texture(stagingHandle);
135 const width = bloom_get_texture_width(id);
136 const height = bloom_get_texture_height(id);
137 return { id, width, height };
138}
139
140// ============================================================
141// Q1: Offscreen Render Targets

Callers

nothing calls this directly

Calls 3

bloom_commit_textureFunction · 0.50
bloom_get_texture_widthFunction · 0.50
bloom_get_texture_heightFunction · 0.50

Tested by

no test coverage detected