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.
This interface performs all the same functions as the ID2D1DeviceContext2 interface, plus it enables functionality for creating and drawing sprite batches.
Inheritance
The ID2D1DeviceContext3 interface inherits from ID2D1DeviceContext2. ID2D1DeviceContext3 also has these types of members:
Methods
The ID2D1DeviceContext3 interface has these methods.
| ID2D1DeviceContext3::CreateSpriteBatch  Creates a new, empty sprite batch. After creating a sprite batch, use ID2D1SpriteBatch::AddSprites to add sprites to it, then use ID2D1DeviceContext3::DrawSpriteBatch to draw it.  | 
| ID2D1DeviceContext3::DrawSpriteBatch  Renders all sprites in the given sprite batch to the device context using the specified drawing options.  | 
| ID2D1DeviceContext3::DrawSpriteBatch  Renders part or all of the given sprite batch to the device context using the specified drawing options. (overload 1/2)  | 
Requirements
| Requirement | Value | 
|---|---|
| Target Platform | Windows | 
| Header | d2d1_3.h |