Device.SamplerState Property (Microsoft.DirectX.Direct3D)

Retrieves a device's sampler states.

Definition

Visual BasicPublic ReadOnly Property SamplerState As SamplerStateManagerCollection
C#public SamplerStateManagerCollection SamplerState { get; }
C++public:
property SamplerStateManagerCollection^ SamplerState {
        SamplerStateManagerCollection^ get();
}
JScriptpublic 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.

Show: