Class ShaderVariant¶
Namespace: Apogee.Content.Import
Assembly: Apogee.Content.dll
A shader compiled with one set of preprocessor defines, listed in a shader's .import.xml as <Variant><Define name="" value=""/></Variant>.
public sealed record ShaderVariant : IEquatable<ShaderVariant>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ShaderVariant(IReadOnlyDictionary<string, string>)¶
A shader compiled with one set of preprocessor defines, listed in a shader's .import.xml as <Variant><Define name="" value=""/></Variant>.
public ShaderVariant(IReadOnlyDictionary<string, string> Defines)
Parameters¶
Defines IReadOnlyDictionary<string, string>
Properties¶
Defines¶
public IReadOnlyDictionary<string, string> Defines { get; init; }