Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An abstract class that provides a interface for creating and managing D2D resources such as brushes, layers, and texts.
class CD2DResource : public CObject;
Members
Protected Constructors
Name |
Description |
---|---|
Constructs a CD2DResource object. |
|
The destructor. Called when a D2D resource object is being destroyed. |
Public Methods
Name |
Description |
---|---|
Creates a CD2DResource. |
|
Destroys a CD2DResource object. |
|
Checks resource validity |
Protected Methods
Name |
Description |
---|---|
Check auto destroy flag. |
|
Re-creates a CD2DResource. |
Protected Data Members
Name |
Description |
---|---|
Resource will be destoyed by owner (CRenderTarget) |
|
Pointer to the parent CRenderTarget) |
Inheritance Hierarchy
Requirements
Header: afxrendertarget.h