Unofficial OpenGL Software Development Kit
0.5.0
|
Classes for representing image data.
The ImageSet class represents a set of images that can be bundled together into a texture. Once loaded, an ImageSet is immutable; it's data cannot be changed.
ImageSet objects have a dimensionality. This can be 1D, 2D, or 3D. They also have a size for each dimension. Each ImageSet has a specific image format. The format defines the arrangement of pixel data in all of the ImageSet's images.
Individual images within the set can be queried from an ImageSet; these images have the type SingleImage. These objects share the same ImageFormat as the owning ImageSet object. These objects must be deleted before the deletion of the ImageSet from which they originate.
You are encouraged to use smart pointers to manage the memory for ImageSet and SingleImage objects.
Modules | |
Image Format | |
Types for representing the format of image data. | |
Classes | |
struct | glimg::Dimensions |
Describes the dimensionality of an image. More... | |
class | glimg::SingleImage |
Represents a single image of a certain dimensionality. More... | |
class | glimg::ImageSet |
Represents a set of images that can be stored in a texture object. More... | |