[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Resource

Class Resource

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

IDXGIResource

[Guid("035f3ab4-482e-4e50-b41f-8a7f8bd8960b")]
public class Resource : DeviceChild, IDisposable, IUnknown
Inheritance
object
Resource
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

Resource(IntPtr)

Initializes a new instance of the Resource class.

public Resource(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

GetEvictionPriority()

HRESULT IDXGIResource::GetEvictionPriority([Out] unsigned int* pEvictionPriority)

public int GetEvictionPriority()

Returns

int

GetSharedHandle()

HRESULT IDXGIResource::GetSharedHandle([Out] void** pSharedHandle)

public IntPtr GetSharedHandle()

Returns

System.IntPtr

GetUsage()

HRESULT IDXGIResource::GetUsage([Out] unsigned int* pUsage)

public int GetUsage()

Returns

int

SetEvictionPriority(int)

HRESULT IDXGIResource::SetEvictionPriority([In] unsigned int EvictionPriority)

public void SetEvictionPriority(int evictionPriority)

Parameters

evictionPriority int

Operators

explicit operator Resource(IntPtr)

Performs an explicit conversion from System.IntPtr to Resource.

public static explicit operator Resource(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Resource