📄 aticontext.hpp
字号:
// aticontext.hpp#ifndef ATICONTEXT_HPP#define ATICONTEXT_HPP#include "oglcontext.hpp"#include "ogltexture.hpp"namespace brook { class ATITexture : public OGLTexture { public: ATITexture ( unsigned int inWidth, unsigned int inHeight, GPUContext::TextureFormat inFormat); virtual int nativeFormat() const { return _nativeFormat; } private: int _nativeFormat; }; class ATIContext : public OGLContext { public: static ATIContext * create(); TextureHandle createTexture2D( unsigned int inWidth, unsigned int inHeight, TextureFormat inFormat); int getShaderFormatRank (const char *name) const; static bool isCompatibleContext (); static bool isVendorContext (); protected: ATIContext(); };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -