Smart pointer for OpenGL 2d texture memory with reference counting. More...
#include <opengl_interop_deprecated.hpp>
Public Member Functions | |
| GlTexture () | |
| create empty texture More... | |
| GlTexture (int rows, int cols, int type) | |
| create texture More... | |
| GlTexture (Size size, int type) | |
| GlTexture (InputArray mat, bool bgra=true) | |
| copy from host/device memory More... | |
| void | create (int rows, int cols, int type) |
| void | create (Size size, int type) |
| void | release () |
| void | copyFrom (InputArray mat, bool bgra=true) |
| copy from host/device memory More... | |
| void | bind () const |
| void | unbind () const |
| int | rows () const |
| int | cols () const |
| Size | size () const |
| bool | empty () const |
| int | type () const |
| int | depth () const |
| int | channels () const |
| int | elemSize () const |
| int | elemSize1 () const |
Smart pointer for OpenGL 2d texture memory with reference counting.
| cv::GlTexture::GlTexture | ( | ) |
create empty texture
|
explicit |
copy from host/device memory
| void cv::GlTexture::bind | ( | ) | const |
|
inline |
|
inline |
| void cv::GlTexture::copyFrom | ( | InputArray | mat, |
| bool | bgra = true |
||
| ) |
copy from host/device memory
|
inline |
|
inline |
|
inline |
|
inline |
| void cv::GlTexture::release | ( | ) |
|
inline |
|
inline |
|
inline |
| void cv::GlTexture::unbind | ( | ) | const |