Blender V4.3
select_debug_engine.cc File Reference
#include "DNA_ID.h"
#include "DNA_vec_types.h"
#include "DRW_engine.hh"
#include "DRW_select_buffer.hh"
#include "draw_cache.hh"
#include "draw_manager_c.hh"
#include "select_engine.hh"

Go to the source code of this file.

Classes

struct  SELECTIDDEBUG_PassList
 
struct  SELECTIDDEBUG_Data
 

Macros

#define SELECT_DEBUG_ENGINE   "SELECT_DEBUG_ENGINE"
 

Functions

Engine Functions
static void select_debug_engine_init (void *vedata)
 
static void select_debug_draw_scene (void *vedata)
 
static void select_debug_engine_free (void)
 

Variables

Structs and static variables
struct { 
 
   struct GPUShader *   select_debug_sh 
 
e_data = {{nullptr}} 
 
Engine Type
static const DrawEngineDataSize select_debug_data_size
 
DrawEngineType draw_engine_debug_select_type
 

Detailed Description

Engine for debugging the selection map drawing.

Definition in file select_debug_engine.cc.

Macro Definition Documentation

◆ SELECT_DEBUG_ENGINE

#define SELECT_DEBUG_ENGINE   "SELECT_DEBUG_ENGINE"

Definition at line 22 of file select_debug_engine.cc.

Function Documentation

◆ select_debug_draw_scene()

static void select_debug_draw_scene ( void * vedata)
static

Definition at line 67 of file select_debug_engine.cc.

References SELECTIDDEBUG_PassList::debug_pass, and DRW_draw_pass().

◆ select_debug_engine_free()

static void select_debug_engine_free ( void )
static

Definition at line 73 of file select_debug_engine.cc.

References DRW_SHADER_FREE_SAFE, and e_data.

◆ select_debug_engine_init()

Variable Documentation

◆ draw_engine_debug_select_type

DrawEngineType draw_engine_debug_select_type
Initial value:
= {
nullptr,
nullptr,
N_("Select ID Debug"),
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void select_debug_draw_scene(void *vedata)
static const DrawEngineDataSize select_debug_data_size
static void select_debug_engine_init(void *vedata)
static void select_debug_engine_free(void)
#define N_(msgid)

Definition at line 87 of file select_debug_engine.cc.

Referenced by drw_engines_enable(), and DRW_engines_register().

◆ [struct]

struct { ... } e_data

◆ select_debug_data_size

const DrawEngineDataSize select_debug_data_size
static
Initial value:

Definition at line 84 of file select_debug_engine.cc.

◆ select_debug_sh

struct GPUShader* select_debug_sh

Definition at line 41 of file select_debug_engine.cc.