[]
        
(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
object
ResourceView
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

ResourceView(IntPtr)

Initializes a new instance of the ResourceView class.

public ResourceView(IntPtr nativePtr)

Parameters

nativePtr System.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

System.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 System.IntPtr to ResourceView.

public static explicit operator ResourceView(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ResourceView