Class VfxShaderFileDXIL
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
DirectX Intermediate Language (DXIL) shader file.
public class VfxShaderFileDXIL : VfxShaderFile
Inheritance
Inherited Members
Constructors
VfxShaderFileDXIL(BinaryReader, int, VfxStaticComboData)
Initializes a new instance from a binary reader.
public VfxShaderFileDXIL(BinaryReader datareader, int sourceId, VfxStaticComboData parent)
Parameters
datareader
BinaryReadersourceId
intparent
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.