⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aticontext.hpp

📁 用于GPU通用计算的编程语言BrookGPU 0.4
💻 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 + -