Blender  V3.3
Classes | Namespaces | Functions | Variables
image_engine.cc File Reference
#include "DRW_render.h"
#include <memory>
#include <optional>
#include "BKE_image.h"
#include "BKE_main.h"
#include "BKE_object.h"
#include "DNA_camera_types.h"
#include "DNA_screen_types.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#include "ED_image.h"
#include "GPU_batch.h"
#include "image_drawing_mode.hh"
#include "image_engine.h"
#include "image_private.hh"
#include "image_space_image.hh"
#include "image_space_node.hh"

Go to the source code of this file.

Classes

class  blender::draw::image_engine::ImageEngine< DrawingMode >
 

Namespaces

 blender
 
 blender::draw
 
 blender::draw::image_engine
 

Functions

static std::unique_ptr< AbstractSpaceAccessorblender::draw::image_engine::space_accessor_from_context (const DRWContextState *draw_ctx)
 
Engine Callbacks
static void blender::draw::image_engine::IMAGE_engine_init (void *ved)
 
static void blender::draw::image_engine::IMAGE_cache_init (void *vedata)
 
static void blender::draw::image_engine::IMAGE_cache_populate (void *UNUSED(vedata), Object *UNUSED(ob))
 
static void blender::draw::image_engine::IMAGE_draw_scene (void *vedata)
 
static void blender::draw::image_engine::IMAGE_engine_free ()
 
static void blender::draw::image_engine::IMAGE_instance_free (void *_instance_data)
 

Variables

static const DrawEngineDataSize blender::draw::image_engine::IMAGE_data_size = DRW_VIEWPORT_DATA_SIZE(IMAGE_Data)
 
DrawEngineType draw_engine_image_type
 

Detailed Description

Draw engine to draw the Image/UV editor

Definition in file image_engine.cc.

Variable Documentation

◆ draw_engine_image_type

DrawEngineType draw_engine_image_type
Initial value:
= {
nullptr,
nullptr,
N_("UV/Image"),
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
static void IMAGE_cache_populate(void *UNUSED(vedata), Object *UNUSED(ob))
static void IMAGE_cache_init(void *vedata)
static void IMAGE_instance_free(void *_instance_data)
static void IMAGE_draw_scene(void *vedata)
static void IMAGE_engine_init(void *ved)
static const DrawEngineDataSize IMAGE_data_size
#define N_(msgid)

Definition at line 187 of file image_engine.cc.

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