#include <image.h>
◆ Image() [1/2]
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 |
◆ Image() [2/2]
Copy constructor of Image.
- Parameters
-
[in] | other | is the Image of which we make a copy of. |
◆ ~Image()
◆ channelType()
◆ get()
FGAPI internal::_Image* get |
( |
| ) |
const |
Get the handle to internal implementation of Image.
◆ height()
FGAPI unsigned height |
( |
| ) |
const |
Get Image height.
- Returns
- image width
◆ pbo()
FGAPI unsigned pbo |
( |
| ) |
const |
Get the OpenGL Pixel Buffer Object identifier.
- Returns
- OpenGL PBO resource id.
◆ pixelFormat()
◆ size()
FGAPI unsigned size |
( |
| ) |
const |
Get the OpenGL Pixel Buffer Object resource size.
- Returns
- OpenGL PBO resource size.
◆ width()
FGAPI unsigned width |
( |
| ) |
const |
Get Image width.
- Returns
- image width
The documentation for this class was generated from the following file: