Synced
RenderTargetArtifactPath.GetShaderPath
Section titled “RenderTargetArtifactPath.GetShaderPath”
- Gets the relative deployment path for one target shader variant.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public static string Inno.Rendering.Assets.RenderTargetArtifactPath.GetShaderPath(System.Guid shaderId, Inno.Rendering.GraphicsApi backend, Inno.Rendering.Assets.RenderShaderVariant variant)Parameters
Section titled “Parameters”Parameter shaderId: The persistent shader asset identity.
Parameter backend: The graphics backend selected by the target Player.
Parameter variant: The canonical static keyword selection.
Returns
Section titled “Returns”A platform-neutral path beneath the runtime content root.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when shaderId is empty.