ID2D1DeviceContext3 interface

This interface performs all the same functions as the ID2D1DeviceContext2 interface, plus it enables functionality for creating and drawing sprite batches.

Members

The ID2D1DeviceContext3 interface inherits from ID2D1DeviceContext2. ID2D1DeviceContext3 also has these types of members:

Methods

The ID2D1DeviceContext3 interface has these methods.

MethodDescription
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.

DrawSpriteBatch Overloaded.

Renders part or all of the given sprite batch to the device context using the specified drawing options.

 

Requirements

Header

D2d1_3.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1DeviceContext2

 

 

Show: