Class VfxShaderFileGL
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
OpenGL GLSL shader file.
public class VfxShaderFileGL : VfxShaderFile
Inheritance
Inherited Members
Constructors
VfxShaderFileGL(BinaryReader, int, VfxStaticComboData)
Initializes a new instance from a binary reader.
public VfxShaderFileGL(BinaryReader datareader, int sourceId, VfxStaticComboData parent)
Parameters
datareader
BinaryReadersourceId
intparent
VfxStaticComboData
Properties
Arg0
Gets the argument value.
public int Arg0 { get; }
Property Value
BlockName
Gets the shader platform name.
public override string BlockName { get; }
Property Value
BytecodeSize
Gets the shader source code size.
public int BytecodeSize { get; }
Property Value
Methods
GetDecompiledFile()
Decompiles the shader to source code.
public override string GetDecompiledFile()
Returns
Remarks
Returns the GLSL shader source code as a UTF-8 string.