Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Represents a resource domain whose objects and device contexts can be used together.
Inheritance
The ID2D1Device interface inherits from ID2D1Resource. ID2D1Device also has these types of members:
Methods
The ID2D1Device interface has these methods.
| ID2D1Device::ClearResources Clears all of the rendering resources used by Direct2D. |
| ID2D1Device::CreateDeviceContext Creates a new device context from a Direct2D device. |
| ID2D1Device::CreatePrintControl Creates an ID2D1PrintControl object that converts Direct2D primitives stored in ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. (overload 2/2) |
| ID2D1Device::CreatePrintControl Creates an ID2D1PrintControl object that converts Direct2D primitives stored in ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. (overload 1/2) |
| ID2D1Device::GetMaximumTextureMemory Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations. (ID2D1Device.GetMaximumTextureMemory) |
| ID2D1Device::SetMaximumTextureMemory Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations. (ID2D1Device.SetMaximumTextureMemory) |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | d2d1_1.h |