Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Member Functions | Data Fields | Static Public Attributes
GLImage< T > Class Template Reference

Public Member Functions

 GLImage (int _width, int _height, int _channels, int _tile_x, int _tile_y, std::function< const GLTexture *(int slice)> texture_loader)
 
 GLImage (int _width, int _height, int _channels, int _tile_x, int _tile_y, bool _destroy, std::function< const GLTexture *(int slice)> texture_loader)
 

Static Public Member Functions

static constexpr int channels_to_slices (int channels, int tile_x, int tile_y)
 
static const std::vector< const GLTexture * > allocate_textures (int slices, std::function< const GLTexture *(int slice)> texture_loader)
 

Data Fields

const int width
 
const int height
 
const int channels
 
const int data_size
 
const int tile_x
 
const int tile_y
 
const int texture_width
 
const int texture_height
 
const int slices
 
const std::vector< const GLTexture * > textures
 

Static Public Attributes

static constexpr int slice_channels = 4
 

Detailed Description

template<typename T>
class GLImage< T >

Definition at line 11 of file GLImage.h.


The documentation for this class was generated from the following file: