Table of Contents

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

data KVObject
blockIndex int

VfxTextureChannelProcessor(BinaryReader, int)

Initializes a new instance from a binary reader.

public VfxTextureChannelProcessor(BinaryReader datareader, int blockIndex)

Parameters

datareader BinaryReader
blockIndex int

Properties

BlockIndex

Gets the block index.

public int BlockIndex { get; }

Property Value

int

Channel

Gets the channel mapping.

public ChannelMapping Channel { get; }

Property Value

ChannelMapping

ColorMode

Gets the color space mode.

public int ColorMode { get; }

Property Value

int

InputTextureIndices

Gets the input texture indices.

public int[] InputTextureIndices { get; }

Property Value

int[]

TexProcessorName

Gets the texture processor command name.

public string TexProcessorName { get; }

Property Value

string