SushiEngine::Simulation::MaterialSlot
bound
static MaterialSlot bound(const Database::AssetId &asset)Parameters
| Name | Type | Description |
|---|---|---|
asset | const Database::AssetId & | The asset to resolve against. |
Returns
MaterialSlot
The constructed slot. Call resolve to populate the resolved material before reading it; until then it holds the default.
Description
Builds a slot bound to asset, with a default resolved material.

