Blender V4.5
DrawEngine Struct Referenceabstract

#include <DRW_render.hh>

Inherited by blender::draw::compositor_engine::Instance, blender::draw::edit_select::Instance, blender::draw::edit_select_debug::Instance, blender::draw::external::Instance, blender::draw::gpencil::Instance, blender::draw::overlay::Instance, blender::eevee::Instance, blender::image_engine::Instance, and blender::workbench::Instance.

Classes

struct  Pointer
 

Public Member Functions

virtual ~DrawEngine ()=default
 
virtual blender::StringRefNull name_get ()=0
 
virtual void init ()=0
 
virtual void begin_sync ()=0
 
virtual void object_sync (blender::draw::ObjectRef &ob_ref, blender::draw::Manager &manager)=0
 
virtual void end_sync ()=0
 
virtual void draw (blender::draw::Manager &manager)=0
 

Public Attributes

char info [GPU_INFO_SIZE] = {'\0'}
 
DRWTextStoretext_draw_cache = nullptr
 
bool used = false
 

Static Public Attributes

static constexpr int GPU_INFO_SIZE = 512
 

Detailed Description

Definition at line 67 of file DRW_render.hh.

Constructor & Destructor Documentation

◆ ~DrawEngine()

virtual DrawEngine::~DrawEngine ( )
virtualdefault

Member Function Documentation

◆ begin_sync()

◆ draw()

◆ end_sync()

◆ init()

◆ name_get()

◆ object_sync()

Member Data Documentation

◆ GPU_INFO_SIZE

int DrawEngine::GPU_INFO_SIZE = 512
staticconstexpr

Definition at line 68 of file DRW_render.hh.

◆ info

char DrawEngine::info[GPU_INFO_SIZE] = {'\0'}

Definition at line 70 of file DRW_render.hh.

Referenced by blender::eevee::Instance::draw(), and DRW_draw_region_engine_info().

◆ text_draw_cache

DRWTextStore* DrawEngine::text_draw_cache = nullptr

Definition at line 71 of file DRW_render.hh.

Referenced by drw_engines_draw_text(), and DRWContext::engines_init_and_sync().

◆ used

bool DrawEngine::used = false

Definition at line 73 of file DRW_render.hh.

Referenced by DRW_view_data_reset(), and DrawEngine::Pointer::set_used().


The documentation for this struct was generated from the following file: