Blender V5.0
image_private.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12
13#include "BKE_image.hh"
14
15#include "image_state.hh"
16#include "image_texture_info.hh"
17
18/* Forward declarations */
19extern "C" {
20struct Image;
21}
22
23/* *********** LISTS *********** */
24
25namespace blender::image_engine {
26
34 public:
35 virtual ~AbstractDrawingMode() = default;
36 virtual void begin_sync() const = 0;
37 virtual void image_sync(::Image *image, ::ImageUser *iuser) const = 0;
38 virtual void draw_viewport() const = 0;
39 virtual void draw_finish() const = 0;
40};
41
42} // namespace blender::image_engine
virtual void image_sync(::Image *image, ::ImageUser *iuser) const =0