ConstantTable.GetSamplerIndex(EffectHandle) Method (Microsoft.DirectX.Direct3D)
Retrieves the sampler index.
Visual Basic Public Function GetSamplerIndex( _
ByVal constant As EffectHandle _
) As IntegerC# public int GetSamplerIndex(
EffectHandle constant
);C++ public:
int GetSamplerIndex(
EffectHandle^ constant
);JScript public function GetSamplerIndex(
constant : EffectHandle
) : int;
constant Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents the unique identifier for the sampler whose index is to be retrieved.
System.Int32
The sampler index number from the constant table.
Show: