Blender V5.3
select_engine.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "DRW_render.hh"
12
13namespace blender {
14
15/* `select_engine.cc` */
16
17#ifdef WITH_DRAW_DEBUG
18/* `select_debug_engine.cc` */
19
21
22struct Engine : public DrawEngine::Pointer {
23 DrawEngine *create_instance() final;
24
25 static void free_static();
26};
27
28} // namespace draw::edit_select_debug
29
30#endif
31
32struct SELECTID_Context *DRW_select_engine_context_get();
33gpu::FrameBuffer *DRW_engine_select_framebuffer_get();
34gpu::Texture *DRW_engine_select_texture_get();
35
36/* select_instance.cc */
37
38namespace draw::select {
39
40struct Engine : public DrawEngine::Pointer {
42};
43
44} // namespace draw::select
45
46namespace draw::edit_select {
47
48struct Engine : public DrawEngine::Pointer {
50
51 static void free_static();
52};
53
54} // namespace draw::edit_select
55
56} // namespace blender
#define final(a, b, c)
Definition BLI_hash_c.hh:21
BMesh Iterators.
gpu::FrameBuffer * DRW_engine_select_framebuffer_get()
gpu::Texture * DRW_engine_select_texture_get()
SELECTID_Context * DRW_select_engine_context_get()
DrawEngine * create_instance() final