[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.ResourceView

Class ResourceView

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

ID3D11View

[Guid("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")]
public class ResourceView : DeviceChild, IDisposable, IUnknown
Inheritance
ResourceView
Implements
Derived
Inherited Members

Constructors

ResourceView(IntPtr)

Initializes a new instance of the ResourceView class.

public ResourceView(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Properties

Resource

Get the resource that is accessed through this view.

public Resource Resource { get; }

Property Value

Resource

Methods

GetResource()

void ID3D11View::GetResource([Out] void** ppResource)

public IntPtr GetResource()

Returns

IntPtr

ResourceAs<T>()

Get the resource that is accessed through this view.

public T ResourceAs<T>() where T : Resource

Returns

T

Type Parameters

T

Operators

explicit operator ResourceView(IntPtr)

Performs an explicit conversion from IntPtr to ResourceView.

public static explicit operator ResourceView(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

ResourceView