81 /** \brief Allocates internal buffer in GPU memory. If internal buffer was created before the function recreates it with new size. If new and old sizes are equal it does nothing.
82 * \param sizeBytes_arg buffer size
83 * */
84void create(size_t sizeBytes_arg);
85
86 /** \brief Decrements reference counter and releases internal buffer if needed. */
87void release();
88
89 /** \brief Performs data copying. If destination size differs it will be reallocated.
173 /** \brief Allocates internal buffer in GPU memory. If internal buffer was created before the function recreates it with new size. If new and old sizes are equal it does nothing.
174 * \param rows_arg number of rows to allocate
175 * \param colsBytes_arg width of the buffer in bytes
176 * */
177void create(int rows_arg, int colsBytes_arg);
178
179 /** \brief Decrements reference counter and releases internal buffer if needed. */
180void release();
181
182 /** \brief Performs data copying. If destination size differs it will be reallocated.