PPL6-Icon Patrick's Programming Library Version 6.4.21 - Dokumentation
ppl6::grafix::CSurface Klassenreferenz

Öffentliche Typen

enum  SurfaceFlags {
  Backbuffer = 0x00000001, TrippleBuffer = 0x00000002, Hardware = 0x00000004, Lockable = 0x00000008,
  VideoMemory = 0x00000010, ZBuffer = 0x00000020, StencilBuffer = 0x00000040, SoftwareVertexProcessing = 0x00000080,
  Multithreaded = 0x00000100, FPUPreserve = 0x00000200, Texture = 0x00000400, DefaultFlags = Hardware|Lockable|VideoMemory
}
 

Öffentliche Methoden

 CSurface ()
 
 CSurface (const CSurface &other)
 
 CSurface (int width, int height, const RGBFormat &format=RGBFormat::unknown, SurfaceFlags flags=DefaultFlags)
 
 ~CSurface ()
 
void clear ()
 
int copy (const CSurface &other)
 
int create ()
 
int create (int width, int height, const RGBFormat &format=RGBFormat::unknown, SurfaceFlags flags=DefaultFlags)
 
void * enginePrivate () const
 
GFXEnginegfxEngine () const
 
int height () const
 
int lock (CDrawable &draw)
 
RGBFormat rgbFormat () const
 
void setEnginePrivate (void *ptr)
 
void setGfxEngine (GFXEngine *engine)
 
void setHeight (int height)
 
void setRGBFormat (const RGBFormat &format)
 
void setSize (int width, int height)
 
void setSize (const Size &s)
 
void setSurfaceFlags (SurfaceFlags f)
 
void setWidth (int width)
 
Size size () const
 
SurfaceFlags surfaceFlags () const
 
int unlock ()
 
int width () const
 

Private Attribute

CDrawable draw
 
void * engineprivate
 
SurfaceFlags flags
 
RGBFormat format
 
GFXEnginegfxengine
 
ppluint32 lockcount
 
Size s
 

Freundbeziehungen

class CGrafix
 

Dokumentation der Aufzählungstypen

Aufzählungswerte
Backbuffer 
TrippleBuffer 
Hardware 
Lockable 
VideoMemory 
ZBuffer 
StencilBuffer 
SoftwareVertexProcessing 
Multithreaded 
FPUPreserve 
Texture 
DefaultFlags 

Beschreibung der Konstruktoren und Destruktoren

ppl6::grafix::CSurface::CSurface ( )
ppl6::grafix::CSurface::CSurface ( const CSurface other)
ppl6::grafix::CSurface::CSurface ( int  width,
int  height,
const RGBFormat format = RGBFormat::unknown,
SurfaceFlags  flags = DefaultFlags 
)
ppl6::grafix::CSurface::~CSurface ( )

Dokumentation der Elementfunktionen

void ppl6::grafix::CSurface::clear ( )
int ppl6::grafix::CSurface::copy ( const CSurface other)
int ppl6::grafix::CSurface::create ( )
int ppl6::grafix::CSurface::create ( int  width,
int  height,
const RGBFormat format = RGBFormat::unknown,
SurfaceFlags  flags = DefaultFlags 
)
void * ppl6::grafix::CSurface::enginePrivate ( ) const
GFXEngine * ppl6::grafix::CSurface::gfxEngine ( ) const
int ppl6::grafix::CSurface::height ( ) const
int ppl6::grafix::CSurface::lock ( CDrawable draw)
RGBFormat ppl6::grafix::CSurface::rgbFormat ( ) const
void ppl6::grafix::CSurface::setEnginePrivate ( void *  ptr)
void ppl6::grafix::CSurface::setGfxEngine ( GFXEngine engine)
void ppl6::grafix::CSurface::setHeight ( int  height)
void ppl6::grafix::CSurface::setRGBFormat ( const RGBFormat format)
void ppl6::grafix::CSurface::setSize ( int  width,
int  height 
)
void ppl6::grafix::CSurface::setSize ( const Size s)
void ppl6::grafix::CSurface::setSurfaceFlags ( SurfaceFlags  f)
void ppl6::grafix::CSurface::setWidth ( int  width)
Size ppl6::grafix::CSurface::size ( ) const
CSurface::SurfaceFlags ppl6::grafix::CSurface::surfaceFlags ( ) const
int ppl6::grafix::CSurface::unlock ( )
int ppl6::grafix::CSurface::width ( ) const

Freundbeziehungen und Funktionsdokumentation

friend class CGrafix
friend

Dokumentation der Datenelemente

CDrawable ppl6::grafix::CSurface::draw
private
void* ppl6::grafix::CSurface::engineprivate
private
SurfaceFlags ppl6::grafix::CSurface::flags
private
RGBFormat ppl6::grafix::CSurface::format
private
GFXEngine* ppl6::grafix::CSurface::gfxengine
private
ppluint32 ppl6::grafix::CSurface::lockcount
private
Size ppl6::grafix::CSurface::s
private

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: