Synced
MaterialPropertyBlock.TryGet
Section titled “MaterialPropertyBlock.TryGet”
- Tries to read one frame-local override.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public bool Inno.Rendering.Assets.MaterialPropertyBlock.TryGet(Inno.Rendering.ShaderPropertyId id, out Inno.Rendering.Assets.MaterialValue value)Parameters
Section titled “Parameters”Parameter id: Stable shader property identifier.
Parameter value: The concrete value read or transformed by this operation.
Returns
Section titled “Returns”true when the override exists.