📄 main.h
字号:
//////////////////////////////////////////////////////////////////////////////////////////
// Main.h
// Direct3D Shadow Mapping
// Downloaded from: www.paulsprojects.net
// Created: 28th November 2002
//
// Copyright (c) 2006, Paul Baker
// Distributed under the New BSD Licence. (See accompanying file License.txt or copy at
// http://www.paulsprojects.net/NewBSDLicense.txt)
//////////////////////////////////////////////////////////////////////////////////////////
#ifndef MAIN_H
#define MAIN_H
//Set up D3D
bool D3DInit();
//Set up variables
bool DemoInit();
//Perform per-frame updates
void UpdateFrame();
//Render a frame
void RenderFrame(double currentTime, double timePassed);
//Shut down demo
void DemoShutdown();
//WinMain
int WINAPI WinMain( HINSTANCE hInstance, //Instance
HINSTANCE hPrevInstance, //Previous Instance
LPSTR lpCmdLine, //Command line params
int nShowCmd); //Window show state
#endif //MAIN_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -