Partager via


BaseEffect.GetValueColor(EffectHandle) Method (Microsoft.DirectX.Direct3D)

Retrieves a ColorValue structure.

Definition

Visual Basic Public Function GetValueColor( _
    ByVal parameter As EffectHandle _
) As ColorValue
C# public ColorValue GetValueColor(
    EffectHandle parameter
);
C++ public:
ColorValue GetValueColor(
    EffectHandleparameter
);
JScript public function GetValueColor(
    parameter : EffectHandle
) : ColorValue;

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle associated with the color value.

Return Value

Microsoft.DirectX.Direct3D.ColorValue
A ColorValue structure.

Remarks

Exceptions

InvalidCallException

The call is invalid.

Applies To

Effect, EffectCompiler