refractwater.h
来自「这是整套横扫千军3D版游戏的源码」· C头文件 代码 · 共 25 行
H
25 行
#ifndef REFRACTEDWATER_H
#define REFRACTEDWATER_H
#include "AdvWater.h"
class CRefractWater : public CAdvWater
{
public:
CRefractWater();
~CRefractWater();
void LoadGfx();
void Draw();
int GetID() const { return 3; }
protected:
void SetupWaterDepthTex();
unsigned int target;
unsigned int subSurfaceTex; // the screen is copied into this texture and used for water rendering
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?