Microsoft DirectX 9.0 SDK Update (October 2004)

BaseEffect.GetParameter Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves a top-level parameter or a structure member parameter.

Definition

Visual Basic .NET Public Function GetParameter( _
    ByVal constant As EffectHandle, _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetParameter(
    EffectHandle constant,
    int index
);
Managed C++ public: EffectHandle* GetParameter(
    EffectHandle *constant,
    int index
);
JScript .NET public function GetParameter(
    constant : EffectHandle,
    index : int
) : EffectHandle;

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle object that indicates the parameter, or null for top-level parameters.
index System.Int32. Parameter index.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle . An EffectHandle of the specified parameter, or null if the parameter is not found.

Applies To

Effect, EffectCompiler

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center