liballofw
Public Member Functions | Protected Member Functions | List of all members
allofw::Surface2D Class Referenceabstract

#include <graphics.h>

Public Member Functions

virtual int width () const =0
 
virtual int height () const =0
 
virtual const void * pixels () const =0
 
virtual void bindTexture (unsigned int unit)=0
 
virtual void uploadTexture ()=0
 
virtual void unbindTexture (unsigned int unit)=0
 
virtual void save (ByteStream *stream)=0
 

Protected Member Functions

virtual ~Surface2D ()
 

Constructor & Destructor Documentation

virtual allofw::Surface2D::~Surface2D ( )
protectedvirtual

Member Function Documentation

virtual void allofw::Surface2D::bindTexture ( unsigned int  unit)
pure virtual
virtual int allofw::Surface2D::height ( ) const
pure virtual
virtual const void* allofw::Surface2D::pixels ( ) const
pure virtual
virtual void allofw::Surface2D::save ( ByteStream stream)
pure virtual
virtual void allofw::Surface2D::unbindTexture ( unsigned int  unit)
pure virtual
virtual void allofw::Surface2D::uploadTexture ( )
pure virtual
virtual int allofw::Surface2D::width ( ) const
pure virtual

The documentation for this class was generated from the following file: