[]
ID3D11SamplerState
[Guid("da6fea51-564c-4487-9810-f0d0f9b4e3a5")]
public class SamplerState : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the SamplerState class.
public SamplerState(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public SamplerStateDescription Description { get; }
Constructs a new SamplerState based on the specified description.
public static SamplerState Create(Device device, SamplerStateDescription description)
device
DeviceThe device with which to associate the state object.
description
SamplerStateDescriptionThe state description.
void ID3D11SamplerState::GetDesc([Out] D3D11_SAMPLER_DESC* pDesc)
public void GetDescription(out SamplerStateDescription descRef)
descRef
SamplerStateDescriptionPerforms an explicit conversion from System.IntPtr to SamplerState.
public static explicit operator SamplerState(IntPtr nativePointer)
nativePointer
System.IntPtr