Class ShaderDataBlock
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
Base class for shader data blocks.
public abstract class ShaderDataBlockInheritance
Derived
Inherited Members
Constructors
ShaderDataBlock(BinaryReader)
Initializes a new instance from a binary reader.
protected ShaderDataBlock(BinaryReader datareader)Parameters
datareaderBinaryReader
ShaderDataBlock()
Initializes a new instance with default values.
protected ShaderDataBlock()Properties
Start
Gets the starting position in the stream.
protected long Start { get; }Property Value
Methods
ReadStringWithMaxLength(BinaryReader, int)
Reads a null-terminated string with a fixed maximum length.
public static string ReadStringWithMaxLength(BinaryReader datareader, int length)Parameters
datareaderBinaryReaderlengthint