Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

EditorRenderTargetArtifactProvider.RequestShaderCompilation

Section titled “EditorRenderTargetArtifactProvider.RequestShaderCompilation”
  • Schedules compilation if required and reports saving-independent state for the exact shader, variant and device target.

API: engine
Project: Inno.Editor.Rendering

public Inno.Editor.Rendering.EditorShaderCompilationSnapshot Inno.Editor.Rendering.EditorRenderTargetArtifactProvider.RequestShaderCompilation(Inno.Rendering.Assets.ShaderAsset shader, Inno.Rendering.Assets.RenderShaderVariant variant, Inno.Rendering.GraphicsCapabilities capabilities)

Parameter shader: Current imported shader.

Parameter variant: Selected keyword variant.

Parameter capabilities: Current device capabilities.

A detached status and diagnostic snapshot; last-good is explicit and never implies current-source success.