本文整理汇总了C++中GfxStats::onResetDevice方法的典型用法代码示例。如果您正苦于以下问题:C++ GfxStats::onResetDevice方法的具体用法?C++ GfxStats::onResetDevice怎么用?C++ GfxStats::onResetDevice使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GfxStats
的用法示例。
在下文中一共展示了GfxStats::onResetDevice方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: onResetDevice
void StencilMirrorDemo::onResetDevice()
{
mGfxStats->onResetDevice();
HR(mFX->OnResetDevice());
buildProjMtx();
}
示例2: onResetDevice
void XFileDemo::onResetDevice()
{
mGfxStats->onResetDevice();
HR(mFX->OnResetDevice());
buildProjMtx();
}
示例3: onResetDevice
void AmbientDiffuseDemo::onResetDevice()
{
mGfxStats->onResetDevice();
HR(mFX->OnResetDevice());
buildProjMtx();
}
示例4: onResetDevice
void Evolution::onResetDevice()
{
mGfxStats->onResetDevice();
HR(mFont->OnResetDevice());
HR(mFX->OnResetDevice());
buildProjMtx();
}
示例5: onResetDevice
void SolarSysDemo::onResetDevice()
{
mGfxStats->onResetDevice();
HR(mFX->OnResetDevice());
// The aspect ratio depends on the backbuffer dimensions, which can
// possibly change after a reset. So rebuild the projection matrix.
buildProjMtx();
}
示例6: onResetDevice
void CameraDemo::onResetDevice()
{
mGfxStats->onResetDevice();
mTerrain->onResetDevice();
// The aspect ratio depends on the backbuffer dimensions, which can
// possibly change after a reset. So rebuild the projection matrix.
float w = (float)md3dPP.BackBufferWidth;
float h = (float)md3dPP.BackBufferHeight;
gCamera->setLens(D3DX_PI * 0.25f, w/h, 1.0f, 5000.0f);
}
示例7: onResetDevice
void GfxStatsDemo::onResetDevice()
{
mGfxStats->onResetDevice();
}
示例8: onResetDevice
void CubeDemo::onResetDevice()
{
mGfxStats->onResetDevice();
buildProjMtx();
}