Device.SamplerState Property

Language:

Retrieves a device's sampler states.

Definition

Visual Basic Public ReadOnly Property SamplerState As SamplerStateManagerCollection
C# public SamplerStateManagerCollection SamplerState { get; }
C++ public:
property SamplerStateManagerCollection^ SamplerState {
        SamplerStateManagerCollection^ get();
}
JScript public function get SamplerState() : SamplerStateManagerCollection

Property Value

Microsoft.DirectX.Direct3D.SamplerStateManagerCollection
Returns the SamplerStateManagerCollection object for the device.

This property is read-only. 

Remarks

This method returns the last sampler state that was set for the device, or the default device sampler state, if not previously set, for a device created using CreateFlags.PureDevice.


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

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