本文整理汇总了C++中CPVRTPrint3D::DeleteAllWindows方法的典型用法代码示例。如果您正苦于以下问题:C++ CPVRTPrint3D::DeleteAllWindows方法的具体用法?C++ CPVRTPrint3D::DeleteAllWindows怎么用?C++ CPVRTPrint3D::DeleteAllWindows使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CPVRTPrint3D
的用法示例。
在下文中一共展示了CPVRTPrint3D::DeleteAllWindows方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: ReleaseView
/*******************************************************************************
* Function Name : ReleaseView
* Returns : Nothing
* Description : Code in ReleaseView() will be called by the Shell before
* changing to a new rendering context.
*******************************************************************************/
bool OGLESOptimizeMesh::ReleaseView()
{
// Release all Textures
glDeleteTextures(1, &m_Texture);
// Release the Print3D textures and windows
m_Print3D.DeleteAllWindows();
m_Print3D.ReleaseTextures();
return true;
}
示例2: QuitApplication
/*!****************************************************************************
@Function QuitApplication
@Return bool true if no error occured
@Description Code in QuitApplication() will be called by PVRShell once per
run, just before exiting the program.
If the rendering context is lost, QuitApplication() will
not be called.
******************************************************************************/
bool OGLESFur::QuitApplication()
{
// Release any memory or instances allocated in InitApplication()
m_Print3D.DeleteAllWindows();
// Frees the memory allocated for the scene
m_Scene.Destroy();
delete[] m_puiVbo;
delete[] m_puiIndexVbo;
return true;
}