2023-08-15 16:20:26 +02:00
|
|
|
/* SPDX-FileCopyrightText: 2004 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-03-06 12:08:03 +01:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
* \ingroup bke
|
|
|
|
*/
|
2023-06-14 18:36:17 +02:00
|
|
|
#include "IMB_imbuf_types.h"
|
2020-03-06 12:08:03 +01:00
|
|
|
|
2020-03-06 12:31:38 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-11-02 06:48:43 +01:00
|
|
|
struct GPUOffScreen;
|
|
|
|
|
2020-12-15 00:47:58 +01:00
|
|
|
enum eDrawType;
|
|
|
|
|
2020-03-06 12:08:03 +01:00
|
|
|
typedef struct ImBuf *(*SequencerDrawView)(struct Depsgraph *depsgraph,
|
|
|
|
struct Scene *scene,
|
|
|
|
struct View3DShading *shading_override,
|
2023-06-14 18:36:17 +02:00
|
|
|
eDrawType drawtype,
|
2020-03-06 12:08:03 +01:00
|
|
|
struct Object *camera,
|
|
|
|
int width,
|
|
|
|
int height,
|
2020-12-15 00:47:58 +01:00
|
|
|
enum eImBufFlags flag,
|
2020-03-06 12:08:03 +01:00
|
|
|
eV3DOffscreenDrawFlag draw_flags,
|
|
|
|
int alpha_mode,
|
|
|
|
const char *viewname,
|
|
|
|
struct GPUOffScreen *ofs,
|
|
|
|
char err_out[256]);
|
2020-04-05 23:39:20 +02:00
|
|
|
extern SequencerDrawView sequencer_view3d_fn;
|
2020-03-06 12:08:03 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|