[]
ID3D11DepthStencilState
[Guid("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")]
public class DepthStencilState : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the DepthStencilState class.
public DepthStencilState(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public DepthStencilStateDescription Description { get; }
Constructs a new DepthStencilState based on the specified description.
public static DepthStencilState Create(Device device, DepthStencilStateDescription description)
device
DeviceThe device with which to associate the state object.
description
DepthStencilStateDescriptionThe state description.
void ID3D11DepthStencilState::GetDesc([Out] D3D11_DEPTH_STENCIL_DESC* pDesc)
public void GetDescription(out DepthStencilStateDescription descRef)
descRef
DepthStencilStateDescriptionPerforms an explicit conversion from System.IntPtr to DepthStencilState.
public static explicit operator DepthStencilState(IntPtr nativePointer)
nativePointer
System.IntPtr