Struct VfxShaderFileVulkan.SpecializationConstant ​
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Maps a specialization constant, identified by the of its variable name, to its SPIR-V constant id.
csharp
public readonly record struct VfxShaderFileVulkan.SpecializationConstant : IEquatable<VfxShaderFileVulkan.SpecializationConstant>Implements ​
IEquatable<VfxShaderFileVulkan.SpecializationConstant>
Constructors ​
SpecializationConstant(uint, uint, uint) ​
Maps a specialization constant, identified by the of its variable name, to its SPIR-V constant id.
csharp
public SpecializationConstant(uint NameToken, uint ConstantId, uint Unknown)Parameters ​
NameToken uint
ConstantId uint
Unknown uint
Properties ​
ConstantId ​
csharp
public uint ConstantId { get; init; }Property Value ​
NameToken ​
csharp
public uint NameToken { get; init; }Property Value ​
Unknown ​
csharp
public uint Unknown { get; init; }
