Represents a resource domain whose objects and device contexts can be used together.
When to implement
Custom implementations are not supported.
Members
The ID2D1Device interface inherits from ID2D1Resource. ID2D1Device also has these types of members:
Methods
The ID2D1Device interface has these methods.
| Method | Description |
|---|---|
| ClearResources |
Clears all of the rendering resources used by Direct2D. |
| CreateDeviceContext |
Creates a new device context from a Direct2D device. |
| CreatePrintControl | Overloaded. Creates an ID2D1PrintControl object that converts Direct2D primitives stored in ID2D1CommandList into a fixed page representation. The print sub-system then consumes the primitives. |
| GetMaximumTextureMemory |
Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations. |
| SetMaximumTextureMemory |
Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations. |
Remarks
Requirements
|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012