Synced
IRenderTargetArtifactProvider.ReadShaderDefinition
Section titled “IRenderTargetArtifactProvider.ReadShaderDefinition”
- Resolves the exact material contract stored with a compiled program using the current owner reference context.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”Inno.Rendering.Assets.ShaderDefinition Inno.Rendering.Runtime.IRenderTargetArtifactProvider.ReadShaderDefinition(Inno.Rendering.Assets.RenderShaderArtifact artifact)Parameters
Section titled “Parameters”Parameter artifact: One immutable program publication, including its native-serialized runtime definition.
Returns
Section titled “Returns”A detached definition belonging to this artifact, never the latest uncompiled source definition.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The publication cannot be decoded in the current owner generation.