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

Function setSceneNodeTexture

src/scene/index.ts:224–226  ·  view source on GitHub ↗
(handle: SceneNodeHandle, textureIdx: number)

Source from the content-addressed store, hash-verified

222 * Pass 0 for the default white texture.
223 */
224export function setSceneNodeTexture(handle: SceneNodeHandle, textureIdx: number): void {
225 bloom_scene_set_material_texture(handle, textureIdx);
226}
227
228/**
229 * Get the number of live scene nodes.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected