[]
IDXGIResource
[Guid("035f3ab4-482e-4e50-b41f-8a7f8bd8960b")]
public class Resource : DeviceChild, IDisposable, IUnknown
Initializes a new instance of the Resource class.
public Resource(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT IDXGIResource::GetEvictionPriority([Out] unsigned int* pEvictionPriority)
public int GetEvictionPriority()
HRESULT IDXGIResource::GetSharedHandle([Out] void** pSharedHandle)
public IntPtr GetSharedHandle()
HRESULT IDXGIResource::GetUsage([Out] unsigned int* pUsage)
public int GetUsage()
HRESULT IDXGIResource::SetEvictionPriority([In] unsigned int EvictionPriority)
public void SetEvictionPriority(int evictionPriority)
evictionPriority
intPerforms an explicit conversion from System.IntPtr to Resource.
public static explicit operator Resource(IntPtr nativePointer)
nativePointer
System.IntPtr