[]
ID3D11DepthStencilView
[Guid("9fdac92a-1876-48c3-afad-25b94f84a9b6")]
public class DepthStencilView : ResourceView, IDisposable, IUnknown
Initializes a new instance of the DepthStencilView class.
public DepthStencilView(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public DepthStencilViewDescription Description { get; }
Creates a DepthStencilView for accessing resource data.
public static DepthStencilView Create(Device device, Resource resource, DepthStencilViewDescription description)
device
DeviceThe device to use when creating this DepthStencilView.
resource
ResourceThe resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.
description
DepthStencilViewDescriptionA structure describing the DepthStencilView to be created.
Creates a DepthStencilView for accessing resource data.
public static DepthStencilView Create(Device device, Resource resource)
device
DeviceThe device to use when creating this DepthStencilView.
resource
ResourceThe resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.
void ID3D11DepthStencilView::GetDesc([Out] D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc)
public void GetDescription(out DepthStencilViewDescription descRef)
descRef
DepthStencilViewDescriptionPerforms an explicit conversion from System.IntPtr to DepthStencilView.
public static explicit operator DepthStencilView(IntPtr nativePointer)
nativePointer
System.IntPtr