[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.DepthStencilView

Class DepthStencilView

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DepthStencilView

[Guid("9fdac92a-1876-48c3-afad-25b94f84a9b6")]
public class DepthStencilView : ResourceView, IDisposable, IUnknown
Inheritance
object
DepthStencilView
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DepthStencilView(IntPtr)

Initializes a new instance of the DepthStencilView class.

public DepthStencilView(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public DepthStencilViewDescription Description { get; }

Property Value

DepthStencilViewDescription

Methods

Create(Device, Resource, DepthStencilViewDescription)

Creates a DepthStencilView for accessing resource data.

public static DepthStencilView Create(Device device, Resource resource, DepthStencilViewDescription description)

Parameters

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.

description DepthStencilViewDescription

A structure describing the DepthStencilView to be created.

Returns

DepthStencilView

Create(Device, Resource)

Creates a DepthStencilView for accessing resource data.

public static DepthStencilView Create(Device device, Resource resource)

Parameters

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

DepthStencilView

GetDescription(out DepthStencilViewDescription)

void ID3D11DepthStencilView::GetDesc([Out] D3D11_DEPTH_STENCIL_VIEW_DESC* pDesc)

public void GetDescription(out DepthStencilViewDescription descRef)

Parameters

descRef DepthStencilViewDescription

Operators

explicit operator DepthStencilView(IntPtr)

Performs an explicit conversion from System.IntPtr to DepthStencilView.

public static explicit operator DepthStencilView(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DepthStencilView