Blender V5.3
blender::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 StringRefNull name_get ()=0
virtual bool uses_render_border () const
virtual void init ()=0
virtual void begin_sync ()=0
virtual void object_sync (draw::ObjectRef &ob_ref, draw::Manager &manager)=0
virtual void end_sync ()=0
virtual void draw (draw::Manager &manager)=0

Public Attributes

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

Static Public Attributes

static constexpr int GPU_INFO_SIZE = 512

Detailed Description

Definition at line 71 of file DRW_render.hh.

Constructor & Destructor Documentation

◆ ~DrawEngine()

virtual blender::DrawEngine::~DrawEngine ( )
virtualdefault

Member Function Documentation

◆ begin_sync()

◆ draw()

◆ end_sync()

◆ init()

◆ name_get()

◆ object_sync()

◆ uses_render_border()

virtual bool blender::DrawEngine::uses_render_border ( ) const
inlinevirtual

True if the render engine takes the render border into account.

Reimplemented in blender::eevee::Instance.

Definition at line 83 of file DRW_render.hh.

Referenced by blender::drw_render_border_mask().

Member Data Documentation

◆ GPU_INFO_SIZE

int blender::DrawEngine::GPU_INFO_SIZE = 512
staticconstexpr

Definition at line 72 of file DRW_render.hh.

◆ info

◆ used


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