Blender V4.3
external_engine.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2017 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
17
18/* Check whether an external engine is to be used to draw content of an image editor.
19 * If the drawing is possible, the render engine is "acquired" so that it is not freed by the
20 * render engine for until drawing is finished.
21 *
22 * NOTE: Released by the draw engine when it is done drawing. */
24
25#ifdef __cplusplus
26}
27#endif
RenderEngineType DRW_engine_viewport_external_type
bool DRW_engine_external_acquire_for_image_editor(void)
DrawEngineType draw_engine_external_type