86 /** \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.
87 * \param size elemens number
88 * */
89void create(size_t size);
90
91 /** \brief Decrements reference counter and releases internal buffer if needed. */
92void release();
93
94 /** \brief Performs data copying. If destination size differs it will be reallocated.
186 /** \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.
187 * \param rows number of rows to allocate
188 * \param cols number of elements in each row
189 * */
190void create(int rows, int cols);
191
192 /** \brief Decrements reference counter and releases internal buffer if needed. */
193void release();
194
195 /** \brief Performs data copying. If destination size differs it will be reallocated.