ConstantTable.GetSamplerIndex Method

Language:

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

Retrieves the sampler index.

Definition

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

Parameters

constant Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle object that represents the unique identifier for the sampler whose index is to be retrieved.

Return Value

System.Int32 . The sampler index number from the constant table.


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

Feedback? Please provide us with your comments on this topic.