Table of Contents

Namespace ValveResourceFormat.CompiledShader

Classes

ChannelMapping

Channel mapping definition used in shaders.

ConfigMappingParams

Maps shader configuration states to combo IDs.

ConstantBufferDescription

Describes an external constant buffer and its variables.

FeaturesHeaderBlock

Header block for shader features files.

PrintVcsFileSummary

Prints a summary of VCS file contents.

PrintZFrameSummary

Prints a summary of shader static combo data.

VfxStaticComboVcsEntry.ResourceEntry

Resource entry for KeyValues-based files.

VfxRenderStateInfoPixelShader.RsBlendStateDesc

Describes the blend state configuration for render targets.

VfxRenderStateInfoPixelShader.RsDepthStencilStateDesc

Describes the depth and stencil state configuration.

VfxRenderStateInfoPixelShader.RsRasterizerStateDesc

Describes the rasterizer state configuration.

ShaderCollection

Collection of related shader programs.

ShaderDataBlock

Base class for shader data blocks.

ShaderParserException

Exception thrown during shader parsing.

ShaderSpirvReflection

Provides SPIR-V reflection and decompilation utilities for shaders.

ShaderUtilHelpers

Provides utility helper methods for shader processing and manipulation.

StaticCache

LRU cache for shader static combo data.

VfxCombo

Contains a definition for a shader combo, whether static, dynamic, or feature-specific.

VfxProgramData

Represents a compiled VFX shader program with all its associated data.

VfxRenderStateInfo

Contains render state information for a shader variant.

VfxRenderStateInfoHullShader

Render state information specific to hull shaders.

VfxRenderStateInfoPixelShader

Render state information specific to pixel shaders, including rasterizer, depth/stencil, and blend states.

VfxRule

Represents a constraint rule for shader combos.

VfxShaderAttribute

Shader attribute with name, type, and value or expression.

VfxShaderFile

Base class for platform-specific shader bytecode.

VfxShaderFileDXBC

DirectX Bytecode (DXBC) shader file. The DXBC sources only have one header, the offset (which happens to be equal to their source size).

VfxShaderFileDXIL

DirectX Intermediate Language (DXIL) shader file.

VfxShaderFileGL

OpenGL GLSL shader file.

VfxShaderFileVulkan

Vulkan SPIR-V shader bytecode.

VfxStaticComboData

Represents data for a static shader combination.

VfxStaticComboVcsEntry

Entry point for a static combo in a VCS file.

VfxTextureChannelProcessor

Processes texture channels for shader inputs.

VfxVariableDescription

Represents a variable description in a VFX shader program.

VfxVariableIndexArray

Represents an array of variable indices in a VFX shader program.

VsInputSignatureElement

Vertex shader input signature definitions.

Structs

ChannelMapping.Channel

Channel constants.

ConstantBufferDescription.ConstantBufferVariable

Represents a variable within a constant buffer.

UiGroup

Organizes shader parameters into UI groups and sections.

VfxVariableIndexData

Contains variable index and layout information.

Enums

ImageFormat

GPU Image formats available in shader version 66.

LegacyImageFormat

GPU Image formats available in shader version 62, 64, 65.

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendMode

Specifies blend modes.

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsBlendOp

Specifies blend operations.

VfxRenderStateInfoPixelShader.RsBlendStateDesc.RsColorWriteEnableBits

Specifies color write enable flags.

VfxRenderStateInfoPixelShader.RsDepthStencilStateDesc.RsComparison

Specifies comparison functions.

VfxRenderStateInfoPixelShader.RsRasterizerStateDesc.RsCullMode

Specifies the cull mode for rendering.

VfxRenderStateInfoPixelShader.RsRasterizerStateDesc.RsFillMode

Specifies the fill mode for rendering.

VfxRenderStateInfoPixelShader.RsDepthStencilStateDesc.RsHiStencilComparison360

Specifies Hi-Stencil comparison for Xbox 360.

VfxRenderStateInfoPixelShader.RsDepthStencilStateDesc.RsHiZMode360

Specifies Hi-Z mode for Xbox 360.

VfxRenderStateInfoPixelShader.RsDepthStencilStateDesc.RsStencilOp

Specifies stencil operations.

UiType

UI control types for shader parameters.

VariableFlags

Flags for shader variables.

VcsAdditionalFileFlags

Flags indicating additional shader files present.

VcsPlatformType

Shader target platforms.

VcsProgramType

Shader program types.

VcsShaderModelType

Shader model versions.

VfxComboType

Shader combo types.

VfxDynamicComboSourceType

Dynamic combo source types.

VfxRegisterType

Shader register types.

VfxRuleMethod

Methods for shader combo rules.

VfxRuleType

Shader rule types for combo constraints.

VfxStaticComboSourceType

Static combo source types.

VfxVariableSourceType

Variable source types for shader parameters.

VfxVariableType

Shader variable data types.