Class VfxTextureChannelProcessor
- Namespace
- ValveResourceFormat.CompiledShader
- Assembly
- ValveResourceFormat.dll
Processes texture channels for shader inputs.
public class VfxTextureChannelProcessor : ShaderDataBlock
Inheritance
Inherited Members
Remarks
ChannelBlocks are always 280 bytes long
Constructors
VfxTextureChannelProcessor(KVObject, int)
Initializes a new instance from ValveResourceFormat.Serialization.KeyValues.KVObject data.
public VfxTextureChannelProcessor(KVObject data, int blockIndex)
Parameters
VfxTextureChannelProcessor(BinaryReader, int)
Initializes a new instance from a binary reader.
public VfxTextureChannelProcessor(BinaryReader datareader, int blockIndex)
Parameters
datareader
BinaryReaderblockIndex
int
Properties
BlockIndex
Gets the block index.
public int BlockIndex { get; }
Property Value
Channel
Gets the channel mapping.
public ChannelMapping Channel { get; }
Property Value
ColorMode
Gets the color space mode.
public int ColorMode { get; }
Property Value
InputTextureIndices
Gets the input texture indices.
public int[] InputTextureIndices { get; }
Property Value
- int[]
TexProcessorName
Gets the texture processor command name.
public string TexProcessorName { get; }