Blender V4.3
overlay_next_engine.cc File Reference
#include "DRW_engine.hh"
#include "DRW_render.hh"
#include "DEG_depsgraph_query.hh"
#include "ED_view3d.hh"
#include "UI_interface.hh"
#include "BKE_duplilist.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "GPU_capabilities.hh"
#include "DNA_space_types.h"
#include "draw_manager.hh"
#include "overlay_next_instance.hh"
#include "overlay_engine.h"
#include "overlay_next_private.hh"

Go to the source code of this file.

Typedefs

using Instance = blender::draw::overlay::Instance
 

Functions

Engine Instance
static void OVERLAY_next_engine_init (void *vedata)
 
static void OVERLAY_next_cache_init (void *vedata)
 
static void OVERLAY_next_cache_populate (void *vedata, Object *object)
 
static void OVERLAY_next_cache_finish (void *vedata)
 
static void OVERLAY_next_draw_scene (void *vedata)
 
static void OVERLAY_next_instance_free (void *instance_)
 

Variables

Engine Type
static const DrawEngineDataSize overlay_data_size = DRW_VIEWPORT_DATA_SIZE(OVERLAY_Data)
 
DrawEngineType draw_engine_overlay_next_type
 

Detailed Description

Engine for drawing a selection map where the pixels indicate the selection indices.

Definition in file overlay_next_engine.cc.

Typedef Documentation

◆ Instance

Function Documentation

◆ OVERLAY_next_cache_finish()

static void OVERLAY_next_cache_finish ( void * vedata)
static

Definition at line 83 of file overlay_next_engine.cc.

References blender::eevee::Instance::end_sync().

◆ OVERLAY_next_cache_init()

static void OVERLAY_next_cache_init ( void * vedata)
static

Definition at line 66 of file overlay_next_engine.cc.

References blender::eevee::Instance::begin_sync().

◆ OVERLAY_next_cache_populate()

◆ OVERLAY_next_draw_scene()

static void OVERLAY_next_draw_scene ( void * vedata)
static

Definition at line 88 of file overlay_next_engine.cc.

References DRW_manager_get().

◆ OVERLAY_next_engine_init()

static void OVERLAY_next_engine_init ( void * vedata)
static

◆ OVERLAY_next_instance_free()

static void OVERLAY_next_instance_free ( void * instance_)
static

Definition at line 94 of file overlay_next_engine.cc.

References instance.

Variable Documentation

◆ draw_engine_overlay_next_type

DrawEngineType draw_engine_overlay_next_type
Initial value:
= {
nullptr,
nullptr,
N_("Overlay"),
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void OVERLAY_next_engine_init(void *vedata)
static const DrawEngineDataSize overlay_data_size
static void OVERLAY_next_cache_init(void *vedata)
static void OVERLAY_next_cache_finish(void *vedata)
static void OVERLAY_next_instance_free(void *instance_)
static void OVERLAY_next_draw_scene(void *vedata)
static void OVERLAY_next_cache_populate(void *vedata, Object *object)
#define N_(msgid)

Definition at line 110 of file overlay_next_engine.cc.

Referenced by drw_engine_enable_image_editor(), drw_engines_enable_editors(), drw_engines_enable_overlays(), and DRW_engines_register().

◆ overlay_data_size

const DrawEngineDataSize overlay_data_size = DRW_VIEWPORT_DATA_SIZE(OVERLAY_Data)
static

Definition at line 108 of file overlay_next_engine.cc.