Share via


EffectCompiler.GetLiteral(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a literal status of a parameter.

Definition

Visual Basic Public Function GetLiteral( _
    ByVal parameter As EffectHandle _
) As Boolean
C# public bool GetLiteral(
    EffectHandle parameter
);
C++ public:
bool GetLiteral(
    EffectHandleparameter
);
JScript public function GetLiteral(
    parameter : EffectHandle
) : boolean;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that is used as the unique identifier of the parameter.

Return Value

System.Boolean
Value that is true if the parameter is a literal, or false if it is not.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also