IPixShaderVariable interface

Represents a shader variable. Obtained from IPixShaderWave::GetVariables, IPixShaderLane::GetVariables, IPixShaderWave::EvaluateExpression, or (for a nested component) this interface's own GetComponents.

Inheritance

IPixShaderVariable inherits from IUnknown.

Interface ID

{473C01B6-E204-4539-A3FA-C8C86E0E7AF6}

Methods

The IPixShaderVariable interface declares these methods.

Method Description
GetName Gets the name of this variable.
GetLocation Gets the hardware location of this variable.
GetComponents Gets a collection of components in the form of shader variable interface objects.
GetValues Gets this variable's value(s), one per lane it was evaluated for.

Requirements

Header: PixApiShaderInterfaces.h