ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D11 Namespace / DepthStencilView Class / Create Method / Create(Device,Resource,DepthStencilViewDescription) Method
The device to use when creating this DepthStencilView.
The resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.
A structure describing the DepthStencilView to be created.

In This Topic
    Create(Device,Resource,DepthStencilViewDescription) Method
    In This Topic
    Creates a DepthStencilView for accessing resource data.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal device As Device, _
       ByVal resource As Resource, _
       ByVal description As DepthStencilViewDescription _
    ) As DepthStencilView

    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.
    description
    A structure describing the DepthStencilView to be created.
    See Also