Class SboxShader
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Represents an S&box shader resource.
public class SboxShader : BlockInheritance
Inherited Members
Extension Methods
Constructors
SboxShader()
Initializes a new instance of the ValveResourceFormat.ResourceTypes.SboxShader class.
public SboxShader()SboxShader(BlockType)
Initializes a new instance of the ValveResourceFormat.ResourceTypes.SboxShader class.
public SboxShader(BlockType platformBlockType)Parameters
platformBlockTypeBlockType
Properties
Shaders
Gets the shader collection.
public ShaderCollection Shaders { get; }Property Value
Type
Gets the block type.
public override BlockType Type { get; }Property Value
Methods
Read(BinaryReader)
Reads the block data from a binary reader.
public override void Read(BinaryReader reader)Parameters
readerBinaryReader-
The binary reader to read from.
Serialize(Stream)
Writes the binary representation of the object to Stream.
public override void Serialize(Stream stream)Parameters
streamStream-
Stream.
WriteText(IndentedTextWriter)
Writes the correct text dump of the object to IndentedTextWriter.
public override void WriteText(IndentedTextWriter writer)Parameters
writerIndentedTextWriter-
IndentedTextWriter.
Remarks
Lists all shader program types contained in the collection.