[]
        
(Showing Draft Content)

C1.Util.DX.DXGI.Device

Device Class

IDXGIDevice

Implements
Namespace: C1.Util.DX.DXGI
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("54ec77fa-1377-44e6-8c32-88fd5f44c84c")]
public class Device : DXGIObject, IDisposable, IUnknown

Constructors

Name Description
Device(IntPtr)

Initializes a new instance of the Device class.

Methods

Name Description
CreateSurface(ref SurfaceDescription, int, int, SharedResource?)

HRESULT IDXGIDevice::CreateSurface([In] const DXGI_SURFACE_DESC* pDesc,[In] unsigned int NumSurfaces,[In] unsigned int Usage,[In, Optional] const DXGI_SHARED_RESOURCE* pSharedResource,[Out] IDXGISurface** ppSurface)

GetAdapter()

HRESULT IDXGIDevice::GetAdapter([Out] IDXGIAdapter** pAdapter)

GetGPUThreadPriority()

HRESULT IDXGIDevice::GetGPUThreadPriority([Out] int* pPriority)

QueryResourceResidency(ComArray<ComObject>, Residency[], int)

HRESULT IDXGIDevice::QueryResourceResidency([In, Buffer] const IUnknown** ppResources,[Out, Buffer] DXGI_RESIDENCY* pResidencyStatus,[In] unsigned int NumResources)

QueryResourceResidency(params ComObject[])

Gets the residency status of an array of resources.

QueryResourceResidency(ComObject[], Residency[], int)

HRESULT IDXGIDevice::QueryResourceResidency([In, Buffer] const IUnknown** ppResources,[Out, Buffer] DXGI_RESIDENCY* pResidencyStatus,[In] unsigned int NumResources)

SetGPUThreadPriority(int)

HRESULT IDXGIDevice::SetGPUThreadPriority([In] int Priority)

Operators

Name Description
explicit operator Device(IntPtr)

Performs an explicit conversion from IntPtr to Device.