ID3D10EffectVariable::AsString method (d3d10effect.h)

Get a string variable.

Syntax

ID3D10EffectStringVariable * AsString();

Return value

Type: ID3D10EffectStringVariable*

A pointer to a string variable. See ID3D10EffectStringVariable.

Remarks

AsString returns a version of the effect variable that has been specialized to a string variable. Similar to a cast, this specialization will return an invalid object if the effect variable does not contain string data.

Applications can test the returned object for validity by calling IsValid.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectVariable Interface