Class VfxShaderFileDXIL
Namespace: ValveResourceFormat.CompiledShader
Assembly: ValveResourceFormat.dll
DirectX Intermediate Language (DXIL) shader file.
public class VfxShaderFileDXIL : VfxShaderFileInheritance
object ← ShaderDataBlock ← VfxShaderFile ← VfxShaderFileDXIL
Inherited Members
VfxShaderFile.ParentCombo, VfxShaderFile.BlockName, VfxShaderFile.ShaderFileId, VfxShaderFile.Size, VfxShaderFile.Bytecode, VfxShaderFile.HashMD5, VfxShaderFile.GetDecompiledFile(), VfxShaderFile.IsEmpty(), ShaderDataBlock.Start, ShaderDataBlock.ReadStringWithMaxLength(BinaryReader, int)
Constructors
VfxShaderFileDXIL(BinaryReader, int, VfxStaticComboData)
Initializes a new instance from a binary reader.
public VfxShaderFileDXIL(BinaryReader datareader, int sourceId, VfxStaticComboData parent)Parameters
datareader BinaryReader
sourceId int
parent VfxStaticComboData
Properties
Arg0
Gets the first argument (always 3).
public int Arg0 { get; }Property Value
Arg1
Gets the second argument (always 0xFFFF or 0xFFFE).
public int Arg1 { get; }Property Value
BlockName
Gets the shader platform name.
public override string BlockName { get; }Property Value
HeaderBytes
Gets the header size in bytes.
public int HeaderBytes { get; }Property Value
Methods
GetDecompiledFile()
Decompiles the shader to source code.
public override string GetDecompiledFile()Returns
Remarks
DXIL decompilation is not supported. This method always throws an InvalidOperationException.

