Device.GetSamplerStageStateSingle Method

Language:

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

Retrieves the floating-point value of a given sampler stage state.

Definition

Visual Basic .NET Public Function GetSamplerStageStateSingle( _
    ByVal stage As Integer, _
    ByVal state As SamplerStageStates _
) As Single
C# public float GetSamplerStageStateSingle(
    int stage,
    SamplerStageStates state
);
Managed C++ public: float GetSamplerStageStateSingle(
    int stage,
    SamplerStageStates state
);
JScript .NET public function GetSamplerStageStateSingle(
    stage : int,
    state : SamplerStageStates
) : float;

Parameters

stage System.Int32. Index value of the sampler stage to retrieve.
state Microsoft.DirectX.Direct3D.SamplerStageStates. A member from the SamplerStageStates enumeration that represents the sampler stage state value to retreive.

Return Value

System.Single . The sampler stage state value retrieved.

Remarks

Use this method to retrieve sampler stage states with floating-point values.


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

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