#include <image.h>
Creates a Image object.
- Parameters
-
| [in] | pWidth | Width of the image |
| [in] | pHeight | Height of the image |
| [in] | pFormat | Color channel format of image, uses one of the values of ChannelFormat |
| [in] | pDataType | takes one of the values of dtype that indicates the integral data type of histogram data |
Copy constructor of Image.
- Parameters
-
| [in] | other | is the Image of which we make a copy of. |
| FGAPI internal::_Image* get |
( |
| ) |
const |
Get the handle to internal implementation of Image.
| FGAPI unsigned height |
( |
| ) |
const |
Get Image height.
- Returns
- image width
| FGAPI unsigned pbo |
( |
| ) |
const |
Get the OpenGL Pixel Buffer Object identifier.
- Returns
- OpenGL PBO resource id.
| FGAPI unsigned size |
( |
| ) |
const |
Get the OpenGL Pixel Buffer Object resource size.
- Returns
- OpenGL PBO resource size.
| FGAPI unsigned width |
( |
| ) |
const |
Get Image width.
- Returns
- image width
The documentation for this class was generated from the following file: