csharp
public record class EffectPermutationValueOne permutation value, as the text that names a variant.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The type and the default ride along with the value because UsedPermutationKeys holds typed PermutationKey`1 objects, and a name alone cannot produce one. It is also why there is no separate list of used keys on EffectData: a variant's permutation values are the keys it read, and two lists that have to agree would eventually not.
Fields and properties (4)
public string NameThe permutation key.
public string ValueIts value, in EffectKey's normal form.
public ShaderValueKind KindIts type — bool, int or uint, which is all Raven admits.
public string DefaultValueWhat the shader declared, for interning the key.
Methods (1)
public EffectPermutationValue(string Name = "", string Value = "", ShaderValueKind Kind = Bool, string DefaultValue = "")One permutation value, as the text that names a variant.
Used by (8)
- EffectDataVixen.Shaders
- EffectLoaderVixen.Shaders
- TypeRegistrationVixen.Shaders
- Vixen_Shaders_EffectDataSerializerVixen.Shaders
- Vixen_Shaders_EffectPermutationValueSerializerVixen.Shaders
- EffectCompilerTestsVixen.ShaderCompiler.Tests
- EffectTranslatorVixen.ShaderCompiler
- PermutationClosureVixen.ShaderCompiler