3D Game Engine Design and Implementation (8)

xiaoxiao2021-03-06  52

3D Game Engine Design and Implementation (8)

Yesterday, the window mode is switched to the full screen mode, and the code here is very much. Many places should be paid, otherwise it is possible to die there, or the full screen mode is not converted to window mode. Or or when the user changes the screen resolution, then there is an error if there is no change in the window. There is also a situation that when the switch failed, it is necessary to return to the original display of the parameters, and so on. This feature is implemented, almost the initialization function of DX is basically completed. Of course, when the window changes the size, the device of D3D should also be changed. It is also necessary to constantly debug the functionality that can complete this. Coding ..............

转载请注明原文地址:https://www.9cbs.com/read-93557.html

New Post(0)