#include <NanoVG.hpp>
NanoVG Image class.
This implements NanoVG images as a C++ class where deletion is handled automatically. Images need to be created within a NanoVG or NanoWidget class.
Constructor for an invalid/null image.
| NanoImage::NanoImage |
( |
const Handle & |
handle | ) |
|
| NanoImage::~NanoImage |
( |
| ) |
|
| NanoImage& NanoImage::operator= |
( |
const Handle & |
handle | ) |
|
Create a new image without recreating the C++ class.
| bool NanoImage::isValid |
( |
| ) |
const |
|
noexcept |
Wherever this image is valid.
| Size<uint> NanoImage::getSize |
( |
| ) |
const |
|
noexcept |
| GLuint NanoImage::getTextureHandle |
( |
| ) |
const |
Get the OpenGL texture handle.
The documentation for this class was generated from the following file: