[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.DepthStencilView.Create

Create Method

Create(Device, Resource)

Creates a DepthStencilView for accessing resource data.

Declaration
public static DepthStencilView Create(Device device, Resource resource)
Public Shared Function Create(device As Device, resource As Resource) As DepthStencilView
Parameters
Type Name Description
Device device

The device to use when creating this DepthStencilView.

Resource resource

The resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.

Returns
Type Description
DepthStencilView

Create(Device, Resource, DepthStencilViewDescription)

Creates a DepthStencilView for accessing resource data.

Declaration
public static DepthStencilView Create(Device device, Resource resource, DepthStencilViewDescription description)
Public Shared Function Create(device As Device, resource As Resource, description As DepthStencilViewDescription) As DepthStencilView
Parameters
Type Name Description
Device device

The device to use when creating this DepthStencilView.

Resource resource

The resource that represents the render-target surface. This surface must have been created with the DepthStencil flag.

DepthStencilViewDescription description

A structure describing the DepthStencilView to be created.

Returns
Type Description
DepthStencilView