Unofficial OpenGL Software Development Kit: glimg::SingleImage Class Reference

Unofficial OpenGL Software Development Kit 0.5.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members | Public Member Functions
glimg::SingleImage Class Reference
ImageSet

`#include <ImageSet.h>`

##

Represents a single image of a certain dimensionality.

The internal data of the image can be retrieved. Objects of this type can be retrieved from an ImageSet, via ImageSet::GetImage.

This object uses reference semantics. Every copy of it will refer to the same image from the same ImageSet.

## Public Member Functions

Dimensions | GetDimensions () const
| Get the dimensions of the image.
ImageFormat | GetFormat () const
| Get the format of the image.
const void * | GetImageData () const
| Retrieves a pointer to this image's pixel data. More...
size_t | GetImageByteSize () const
| Returns the size in bytes of the image's pixel data.

## Member Function Documentation

const void* glimg::SingleImage::GetImageData | ( |  | ) | const

Retrieves a pointer to this image's pixel data.

The format of this pixel data is defined by the ImageFormat returned from GetFormat().

Do not delete this pointer. It is owned by this object (and the ImageSet it came from).

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

- C:/Projects/distro/glsdk_0_5_1/glimg/include/glimg/ImageSet.h