In file gfx/libmosaic/Mosaic.hxx:

class Mosaic::RasterBase

Base class for images

Documentation

Base class for images

Inheritance:

RasterBase


Public Methods

[more]virtual void* getPointer ()
Get the pointer to the data to be passed to the gl routines.
[more]virtual RasterBase* clone ()
Clone this raster; create a new one with the same measurements and content in the free store
[more]virtual void setGLPixelModes ()
Set the OpenGL pixel store modes for this raster.

ovirtual void* getPointer() = 0
Get the pointer to the data to be passed to the gl routines. The only legal operation with this pointer is Giving it to an OpenGL routine which expects width * height bytes of data after calling setGLPixelModes to set the appropriate modes.

ovirtual RasterBase* clone() = 0
Clone this raster; create a new one with the same measurements and content in the free store

ovirtual void setGLPixelModes() = 0
Set the OpenGL pixel store modes for this raster. If you want to save and restore the state prior to this, use glPushClientAttrib.


Direct child classes:
Raster

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.