'Declaration Public Overloads Shared Function Create( _ ByVal device As Device, _ ByVal resource As Resource _ ) As DepthStencilView
public static DepthStencilView Create( Device device, Resource resource )
Parameters
- device
- The device to use when creating this DepthStencilView.
- resource
- The resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.