Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
mobile
contrib
opengl
core
GLPBO.h
1
2
#pragma once
3
4
#include "GLTexture.h"
5
#include <functional>
6
7
class
GLPBO
{
8
GLuint pboId = 0;
9
GLuint pboSize = 0;
10
GLuint pboFrameBuffer = 0;
11
12
~
GLPBO
();
13
14
static
GLPBO
* pboContext;
15
16
public
:
17
void
mapTextureData(GLuint _textureId,
18
GLsizei _width,
19
GLsizei _height,
20
GLsizei _stride,
21
GLsizei _channels,
22
const
GLTexture::Type
& type,
23
std::function<
void
(
const
void
* buffer,
24
size_t
width,
25
size_t
height,
26
size_t
stride,
27
size_t
channels,
28
const
GLTexture::Type
& type)> process);
29
30
static
GLPBO
* getContext();
31
};
GLPBO
Definition:
GLPBO.h:7
GLTexture::Type
Definition:
GLTexture.h:8
Generated on Thu Apr 19 2018 13:03:54 for Caffe2 - C++ API by
1.8.11