Synced
MaterialPropertyBlock
Section titled “MaterialPropertyBlock”
- Holds frame-local material overrides without modifying a shared asset.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public sealed class InnoEngine.Rendering.MaterialPropertyBlockMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | MaterialPropertyBlock.Constructor | No XML description is available. |
| Methods | MaterialPropertyBlock.Clear | Removes all frame-local overrides. |
| Methods | MaterialPropertyBlock.Set | Creates or replaces one frame-local override. |
| Methods | MaterialPropertyBlock.TryGet | Tries to read one frame-local override. |
| Properties | MaterialPropertyBlock.count | Gets the number of active overrides. |