Class VfxRenderStateInfo
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
Contains render state information for a shader variant.
csharp
public class VfxRenderStateInfoInheritance
Derived
VfxRenderStateInfoHullShader, VfxRenderStateInfoPixelShader
Constructors
VfxRenderStateInfo(long, int, int)
Initializes a new instance of the class.
csharp
public VfxRenderStateInfo(long comboId, int shaderFileId, int shaderFileOffset)Parameters
comboId long
shaderFileId int
shaderFileOffset int
VfxRenderStateInfo(BinaryReader)
Initializes a new instance of the class from a binary reader.
csharp
public VfxRenderStateInfo(BinaryReader datareader)Parameters
datareader BinaryReader
Properties
DynamicComboId
Gets the dynamic combo ID.
csharp
public long DynamicComboId { get; }Property Value
ShaderFileId
Gets the shader file ID.
csharp
public int ShaderFileId { get; }Property Value
ShaderFileOffset
Gets the byte offset of the shader file within the uncompressed static combo data, relative to the shader file count field. It is -1 in version 71 and resource files.
csharp
public int ShaderFileOffset { get; }
