📄 texture.h
字号:
// ==========================================================================================================
//
// BREW v2.0+ OPENGLES MICROENGINE
//
// ----------------------------------------
//
// Written by Vander Nunes
//
// ==========================================================================================================
#ifndef __TEXTURE_H__
#define __TEXTURE_H__
#include "AEEAppGen.h"
#include "AEEModGen.h"
#include "AEEStdLib.h"
#include "AEEFile.h"
#include "AEEGL.h"
#include "tga.h"
class CTexture
{
private:
unsigned int m_iTexID; // ogl texture id
word m_wWidth, m_wHeight;
byte m_jDepth;
public:
CTexture();
~CTexture();
boolean Load(AEEApplet* pApplet, char *szPakFile, char *szFile, boolean bGenMipMap = FALSE);
boolean LoadFromMemory(CTGA* pTga, boolean bGenMipMap = FALSE);
unsigned int TexID();
word Width();
word Height();
byte Depth();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -