ConstantTable.GetSamplerIndex Method

Language:

Retrieves the sampler index.

Definition

Visual Basic Public Function GetSamplerIndex( _
    ByVal constant As EffectHandle _
) As Integer
C# public int GetSamplerIndex(
    EffectHandle constant
);
C++ public:
int GetSamplerIndex(
    EffectHandleconstant
);
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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