Public Member Functions | |
| void | map_buffer (std::function< void(void *buffer, size_t width, size_t height, size_t stride, size_t channels, const Type &type)> process) const |
| virtual void | map_read (std::function< void(const void *buffer, size_t width, size_t height, size_t stride, size_t channels, const Type &type)> process) const |
| virtual void | map_load (std::function< void(void *buffer, size_t width, size_t height, size_t stride, size_t channels, const Type &type)> process) const |
| GLuint | name () const |
| GLenum | target () const |
| bool | flipped () const |
Public Member Functions inherited from GLTexture | |
| GLTexture (const Type &type, int width, int height, int stride, bool use_padding, GLint filter, GLint wrap) | |
| GLTexture (const Type &type, int width, int height, bool use_padding, GLint filter, GLint wrap) | |
| void | loadData (const void *pixels) const |
Static Public Member Functions | |
| static CVPixelBufferRef | createCVPixelBuffer (OSType pixelType, int32_t width, int32_t height) |
Data Fields | |
| const CVPixelBufferRef | sourceImage |
Friends | |
| class | IOSGLContext |
Additional Inherited Members | |
Static Public Attributes inherited from GLTexture | |
| static const Type | FP16 = {GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT} |
| static const Type | FP16_COMPAT = {GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT} |
| static const Type | UI8 = {GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE} |
Protected Attributes inherited from GLTexture | |
| const Type & | _type |
| const GLsizei | _width |
| const GLsizei | _height |
| const GLsizei | _stride |
| const GLsizei | _channels |
| const bool | _use_padding |
| GLint | _filter |
| GLint | _wrap |
| GLuint | _textureId |
Definition at line 9 of file IOSGLTexture.h.
1.8.11