Synced
RenderShaderVariant
Section titled “RenderShaderVariant”
- Identifies one deterministic selection of static shader keyword options shared by authoring and runtime.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IEquatable<Inno.Rendering.Assets.RenderShaderVariant>
Inherits: System.ValueType
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public readonly struct Inno.Rendering.Assets.RenderShaderVariant : System.IEquatable<Inno.Rendering.Assets.RenderShaderVariant>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | RenderShaderVariant.Constructor | Creates a canonical shader variant from stable keyword selections. |
| Methods | RenderShaderVariant.Equals(Inno.Rendering.Assets.RenderShaderVariant) | Determines whether this instance and the supplied value represent the same logical state. |
| Methods | RenderShaderVariant.Equals(System.Object) | Determines whether this instance and the supplied object represent the same logical state. |
| Methods | RenderShaderVariant.FromMaterial(Inno.Rendering.Assets.MaterialAsset) | Resolves the deterministic variant selected by a material. |
| Methods | RenderShaderVariant.FromMaterial(Inno.Rendering.Assets.MaterialAsset,Inno.Rendering.Assets.ShaderDefinition) | Resolves material keyword selections against an exact published shader contract. |
| Methods | RenderShaderVariant.GetHashCode | Computes a hash code from the canonical variant representation. |
| Methods | RenderShaderVariant.op_Equality | Determines whether two variants select identical stable options. |
| Methods | RenderShaderVariant.op_Inequality | Determines whether two variants select different stable options. |
| Methods | RenderShaderVariant.Parse | Parses the canonical representation stored in a deployed artifact. |
| Methods | RenderShaderVariant.ToString | Formats this value as its canonical representation. |
| Properties | RenderShaderVariant.empty | Gets the empty default variant. |
| Properties | RenderShaderVariant.options | Gets the immutable stable keyword selections. |
| Properties | RenderShaderVariant.value | Gets the canonical cache-key representation. |