Files
test2/source/blender/draw/engines/select/select_engine.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.0 KiB
C++
Raw Normal View History

/* SPDX-FileCopyrightText: 2019 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup draw_engine
*/
#pragma once
#include "DRW_render.hh"
/* `select_engine.cc` */
#ifdef WITH_DRAW_DEBUG
/* `select_debug_engine.cc` */
namespace blender::draw::edit_select_debug {
struct Engine : public DrawEngine::Pointer {
DrawEngine *create_instance() final;
static void free_static();
};
} // namespace blender::draw::edit_select_debug
#endif
struct SELECTID_Context *DRW_select_engine_context_get();
struct GPUFrameBuffer *DRW_engine_select_framebuffer_get();
struct GPUTexture *DRW_engine_select_texture_get();
/* select_instance.cc */
namespace blender::draw::select {
struct Engine : public DrawEngine::Pointer {
DrawEngine *create_instance() final;
};
} // namespace blender::draw::select
namespace blender::draw::edit_select {
struct Engine : public DrawEngine::Pointer {
DrawEngine *create_instance() final;
static void free_static();
};
} // namespace blender::draw::edit_select