Synced
CompiledShaderArtifact.Constructor
Section titled “CompiledShaderArtifact.Constructor”
- Creates a compiled shader artifact.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.Authoring.CompiledShaderArtifact.CompiledShaderArtifact(string shaderName, string targetKey, Inno.Rendering.Assets.RenderShaderVariant variant, Inno.Rendering.ShaderInterface shaderInterface, System.Collections.Generic.IReadOnlyList<Inno.Rendering.Assets.Authoring.CompiledShaderPass> passes, System.ReadOnlySpan<byte> definitionData)Parameters
Section titled “Parameters”Parameter shaderName: Artist-facing shader name.
Parameter targetKey: Stable target cache key.
Parameter variant: Static keyword variant.
Parameter shaderInterface: Manifest-derived binding contract.
Parameter passes: Compiled pass binaries.
Parameter definitionData: Native-serialized runtime definition captured before asynchronous compilation.