ID2D1Device

<summary> The device defines a resource domain whose objects and device contexts can be used together. </summary>

Members

Functions

ClearResources
void ClearResources(UINT32 millisecondsSinceUse = 0)

<summary> Clears all resources that are cached but not held in use by the application through an interface reference. </summary>

CreateDeviceContext
HRESULT CreateDeviceContext(D2D1_DEVICE_CONTEXT_OPTIONS options, ID2D1DeviceContext* deviceContext)

<summary> Creates a new device context with no initially assigned target. </summary>

CreatePrintControl
HRESULT CreatePrintControl(IWICImagingFactory wicFactory, IPrintDocumentPackageTarget documentTarget, const(D2D1_PRINT_CONTROL_PROPERTIES)* printControlProperties, ID2D1PrintControl* printControl)

<summary> Creates a D2D print control. </summary>

GetMaximumTextureMemory
UINT64 GetMaximumTextureMemory()

<summary> Gets the maximum amount of texture memory to maintain before evicting caches. </summary>

SetMaximumTextureMemory
void SetMaximumTextureMemory(UINT64 maximumInBytes)

<summary> Sets the maximum amount of texture memory to maintain before evicting caches. </summary>

Meta