コード例 #1
0
ファイル: StencilMirror.cpp プロジェクト: kasicass/introdx9
void StencilMirrorDemo::onResetDevice()
{
	mGfxStats->onResetDevice();
	HR(mFX->OnResetDevice());

	buildProjMtx();
}
コード例 #2
0
ファイル: XFileDemo.cpp プロジェクト: kasicass/introdx9
void XFileDemo::onResetDevice()
{
	mGfxStats->onResetDevice();
	HR(mFX->OnResetDevice());

	buildProjMtx();
}
コード例 #3
0
void AmbientDiffuseDemo::onResetDevice()
{
    mGfxStats->onResetDevice();
    HR(mFX->OnResetDevice());

    buildProjMtx();
}
コード例 #4
0
void Evolution::onResetDevice()
{
    mGfxStats->onResetDevice();
    HR(mFont->OnResetDevice());

    HR(mFX->OnResetDevice());

    buildProjMtx();
}
コード例 #5
0
ファイル: SolarSysDemo.cpp プロジェクト: nguyenkim495/KidBuu
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
0
ファイル: CameraDemo.cpp プロジェクト: chenbk85/3dlearn
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
0
ファイル: GfxStatsDemo.cpp プロジェクト: kasicass/introdx9
void GfxStatsDemo::onResetDevice()
{
	mGfxStats->onResetDevice();
}
コード例 #8
0
ファイル: CubeDemo.cpp プロジェクト: kasicass/introdx9
void CubeDemo::onResetDevice()
{
	mGfxStats->onResetDevice();
	buildProjMtx();
}