Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Identifies one deterministic selection of static shader keyword options shared by authoring and runtime.

API: scripting
Implements: System.IEquatable<InnoEngine.Rendering.RenderShaderVariant>
Inherits: System.ValueType
Project: Inno.Rendering.Assets
Scope: Runtime

public readonly struct InnoEngine.Rendering.RenderShaderVariant : System.IEquatable<InnoEngine.Rendering.RenderShaderVariant>
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.