[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Device2

Class Device2

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

IDXGIDevice2

[Guid("05008617-fbfd-4051-a790-144884b4f6a9")]
public class Device2 : Device1, IDisposable, IUnknown
Inheritance
object
Device2
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

Device2(IntPtr)

Initializes a new instance of the Device2 class.

public Device2(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

EnqueueSetEvent(IntPtr)

HRESULT IDXGIDevice2::EnqueueSetEvent([In] void* hEvent)

public void EnqueueSetEvent(IntPtr hEvent)

Parameters

hEvent System.IntPtr

OfferResources(int, ComArray<Resource>, OfferResourcePriority)

HRESULT 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)

Parameters

numResources int
resourcesOut ComArray<Resource>
priority OfferResourcePriority

OfferResources(int, Resource[], OfferResourcePriority)

HRESULT 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)

Parameters

numResources int
resourcesOut Resource[]
priority OfferResourcePriority

ReclaimResources(int, ComArray<Resource>, Bool[])

HRESULT 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)

Parameters

numResources int
resourcesOut ComArray<Resource>
discardedRef Bool[]

ReclaimResources(int, Resource[], Bool[])

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)

Parameters

numResources int
resourcesOut Resource[]
discardedRef Bool[]

Operators

explicit operator Device2(IntPtr)

Performs an explicit conversion from System.IntPtr to Device2.

public static explicit operator Device2(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Device2