Synced
IRenderResourceService.ValidateShaderArtifact
Section titled “IRenderResourceService.ValidateShaderArtifact”
- Creates and retires every program in one compiled artifact through the active device without publishing it.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”void Inno.Rendering.Runtime.IRenderResourceService.ValidateShaderArtifact(Inno.Rendering.Assets.RenderShaderArtifact artifact)Parameters
Section titled “Parameters”Parameter artifact: Complete target artifact whose binaries, links, and reflected interfaces must be accepted by the active device.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The call is outside a frame resource-mutation safety point, or the artifact fails device validation.