Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

RAS_ICanvas.h

Go to the documentation of this file.
00001 #ifndef __RAS_ICANVAS
00002 #define __RAS_ICANVAS
00003 
00007 
00008 class RAS_ICanvas
00009 {
00010 public:
00011         enum BufferType {
00012                 COLOR_BUFFER=1,
00013                 DEPTH_BUFFER=2
00014         };
00015         RAS_ICanvas() {};
00016         virtual ~RAS_ICanvas() {};
00017         virtual void Init() = 0;
00018         virtual void Resize(int width,int height)=0;
00019         virtual void BeginFrame()=0;
00020         virtual void EndFrame()=0;
00021         virtual void SwapBuffers()=0; // probably needs some arguments for PS2 in future
00022         virtual void ClearBuffer(int type)=0;
00023         virtual void ClearColor(float r,float g,float b,float a)=0;
00024         virtual int      GetWidth() =0;
00025         virtual int      GetHeight() =0;
00026 
00027 };
00028 #endif //__RAS_ICANVAS

Generated at Thu Feb 1 13:03:08 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000