Пример #1
0
void FD3D11DynamicRHI::RHITick( float DeltaTime )
{
	check( IsInGameThread() );

	// Check to see if the device has been removed.
	if ( bDeviceRemoved )
	{
		InitD3DDevice();
	}

	// Check if any swap chains have been invalidated.
	for(int32 ViewportIndex = 0;ViewportIndex < Viewports.Num();ViewportIndex++)
	{
		Viewports[ViewportIndex]->ConditionalResetSwapChain(false);
	}
}
Пример #2
0
void FD3D11DynamicRHI::Init()
{
	InitD3DDevice();
}