Framework.Render3DEnviroment Method |
Language: |
Renders the 3-D environment and updates application and device parameters.
Visual Basic Public Sub Render3DEnviroment() C# public void Render3DEnviroment(); C++ public:
void Render3DEnviroment();JScript public function Render3DEnviroment();
This method does not normally need to be called. It is useful only when the application does not use MainLoop but still wants the sample framework to assist with rendering.
This method checks whether the device is lost. If so, the method attempts to reset the device and then calls the neccessary FrameMove and Render methods.
If the application window is minimized or the application is paused, CPU time is yielded to other processes.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center