Partager via


CRenderTarget::Destroy

Deletes one or more resources

BOOL Destroy(
   BOOL bDeleteResources = TRUE
);

Parameters

  • bDeleteResources
    If bDeleteResources is TRUE, all resources located in m_lstResources will be automatically destroyed.

Return Value

If the method succeeds, it returns TRUE. Otherwise, it returns FALSE

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class