loadMaterial() function

Helper to load a MaterialResource object by Material identity.

Signature:

declare function loadMaterial(ctx: Context, identity: string): Promise<MaterialResource>;

Parameters

Parameter

Type

Description

ctx

Context

identity

string

**Returns:**

Promise<MaterialResource>

Remarks

Given a Material identity (e.g. core3d:material:...) this will create and load a MaterialResource for Design application.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2025 Core3D, Inc. All Rights Reserved.