Condividi tramite


CD2DMesh Class

A wrapper for ID2D1Mesh.

class CD2DMesh : public CD2DResource;

Members

Public Constructors

Name

Description

CD2DMesh::CD2DMesh

Constructs a CD2DMesh object.

CD2DMesh::~CD2DMesh

The destructor. Called when a D2D mesh object is being destroyed.

Public Methods

Name

Description

CD2DMesh::Attach

Attaches existing resource interface to the object

CD2DMesh::Create

Creates a CD2DMesh. (Overrides CD2DResource::Create.)

CD2DMesh::Destroy

Destroys a CD2DMesh object. (Overrides CD2DResource::Destroy.)

CD2DMesh::Detach

Detaches resource interface from the object

CD2DMesh::Get

Returns ID2D1Mesh interface

CD2DMesh::IsValid

Checks resource validity (Overrides CD2DResource::IsValid.)

CD2DMesh::Open

Opens the mesh for population.

Public Operators

Name

Description

CD2DMesh::operator ID2D1Mesh*

Returns ID2D1Mesh interface

Protected Data Members

Name

Description

CD2DMesh::m_pMesh

A pointer to an ID2D1Mesh.

Inheritance Hierarchy

CObject

CD2DResource

CD2DMesh

Requirements

Header: afxrendertarget.h

See Also

Other Resources

MFC Classes