153bool create_from_buffer(constcontext& ctx, int x, int y, int width, int height, int level = -1);
166bool create(constcontext& ctx, constcgv::data::const_data_view& data, int level = -1, int cube_side = -1, int num_array_layers = 0, const std::vector<cgv::data::data_view>* palettes = 0);
170bool replace(constcontext& ctx, int x, constcgv::data::const_data_view& data, int level = -1, const std::vector<cgv::data::data_view>* palettes = 0);
174bool replace(constcontext& ctx, int x, int y, constcgv::data::const_data_view& data, int level = -1, const std::vector<cgv::data::data_view>* palettes = 0);
179bool replace(constcontext& ctx, int x, int y, int z_or_cube_side, constcgv::data::const_data_view& data, int level = -1, const std::vector<cgv::data::data_view>* palettes = 0);
181bool replace_from_buffer(constcontext& ctx, int x, int y, int x_buffer,
182int y_buffer, int width, int height, int level = -1);
184bool replace_from_buffer(constcontext& ctx, int x, int y, int z_or_cube_side, int x_buffer,
185int y_buffer, int width, int height, int level);
187bool replace_from_image(constcontext& ctx, const std::string& file_name, int x, int y, int z_or_cube_side, int level);