[]
IDXGIDevice2
[Guid("05008617-fbfd-4051-a790-144884b4f6a9")]
public class Device2 : Device1, IDisposable, IUnknown
Initializes a new instance of the Device2 class.
public Device2(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
HRESULT IDXGIDevice2::EnqueueSetEvent([In] void* hEvent)
public void EnqueueSetEvent(IntPtr hEvent)
hEvent
System.IntPtrHRESULT IDXGIDevice2::OfferResources([In] unsigned int NumResources,[In, Buffer] const IDXGIResource** ppResources,[In] DXGI_OFFER_RESOURCE_PRIORITY Priority)
public void OfferResources(int numResources, ComArray<Resource> resourcesOut, OfferResourcePriority priority)
numResources
intresourcesOut
ComArray<Resource>priority
OfferResourcePriorityHRESULT IDXGIDevice2::OfferResources([In] unsigned int NumResources,[In, Buffer] const IDXGIResource** ppResources,[In] DXGI_OFFER_RESOURCE_PRIORITY Priority)
public void OfferResources(int numResources, Resource[] resourcesOut, OfferResourcePriority priority)
numResources
intresourcesOut
Resource[]priority
OfferResourcePriorityHRESULT IDXGIDevice2::ReclaimResources([In] unsigned int NumResources,[In, Buffer] const IDXGIResource** ppResources,[Out, Buffer, Optional] BOOL* pDiscarded)
public void ReclaimResources(int numResources, ComArray<Resource> resourcesOut, Bool[] discardedRef)
HRESULT IDXGIDevice2::ReclaimResources([In] unsigned int NumResources,[In, Buffer] const IDXGIResource** ppResources,[Out, Buffer, Optional] BOOL* pDiscarded)
public void ReclaimResources(int numResources, Resource[] resourcesOut, Bool[] discardedRef)
Performs an explicit conversion from System.IntPtr to Device2.
public static explicit operator Device2(IntPtr nativePointer)
nativePointer
System.IntPtr