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: scripting
Implements: System.IEquatable<InnoEngine.Rendering.RenderShaderVariant>
Inherits: System.ValueType
Project: Inno.Rendering.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public readonly struct InnoEngine.Rendering.RenderShaderVariant : System.IEquatable<InnoEngine.Rendering.RenderShaderVariant>Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | RenderShaderVariant.Constructor | Creates a canonical shader variant from stable keyword selections. |
| Methods | RenderShaderVariant.Equals(InnoEngine.Rendering.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(InnoEngine.Rendering.MaterialAsset) | Resolves the deterministic variant selected by a material. |
| Methods | RenderShaderVariant.FromMaterial(InnoEngine.Rendering.MaterialAsset,InnoEngine.Rendering.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. |