boo/include/IGraphicsContext.hpp

28 lines
578 B
C++
Raw Normal View History

2015-04-19 00:09:24 +00:00
#ifndef IGRAPHICSCONTEXT_HPP
#define IGRAPHICSCONTEXT_HPP
2015-04-18 20:41:09 +00:00
2015-04-18 22:08:27 +00:00
#include <string>
2015-04-18 20:41:09 +00:00
2015-04-29 10:24:39 +00:00
namespace boo
{
2015-04-19 00:09:24 +00:00
class IGraphicsContext
2015-04-18 20:41:09 +00:00
{
public:
2015-04-19 00:09:24 +00:00
virtual ~IGraphicsContext() {}
2015-04-18 23:12:22 +00:00
2015-04-18 22:08:27 +00:00
virtual void setMinVersion (const int& min)=0;
virtual void setMajorVersion(const int& maj)=0;
2015-04-18 23:12:22 +00:00
virtual bool create()=0;
2015-04-18 22:08:27 +00:00
virtual const std::string version() const=0;
virtual const std::string name() const=0;
virtual int depthSize() const=0;
virtual int redDepth() const=0;
virtual int greenDepth() const=0;
virtual int blueDepth() const=0;
2015-04-18 20:41:09 +00:00
};
2015-04-29 10:24:39 +00:00
}
2015-04-19 00:09:24 +00:00
#endif // IGRAPHICSCONTEXT_HPP