|
Blender V5.0
|
#include <image_instance.hh>
Inherits DrawEngine.
Public Member Functions | |
| Instance () | |
| virtual | ~Instance ()=default |
| StringRefNull | name_get () final |
| void | init () final |
| void | begin_sync () final |
| void | image_sync () |
| void | object_sync (ObjectRef &, Manager &) final |
| void | end_sync () final |
| void | draw (Manager &) final |
| Public Member Functions inherited from DrawEngine | |
| virtual | ~DrawEngine ()=default |
Public Attributes | |
| const ARegion * | region |
| State | state |
| Manager * | manager = nullptr |
| Public Attributes inherited from DrawEngine | |
| char | info [GPU_INFO_SIZE] = {'\0'} |
| bool | used = false |
Additional Inherited Members | |
| Static Public Attributes inherited from DrawEngine | |
| static constexpr int | GPU_INFO_SIZE = 512 |
Definition at line 40 of file image_instance.hh.
|
inline |
Definition at line 53 of file image_instance.hh.
|
virtualdefault |
|
inlinefinalvirtual |
Scene synchronization. Command buffers building.
Implements DrawEngine.
Definition at line 71 of file image_instance.hh.
References final, blender::MatBase< float, 4, 4 >::identity(), image_sync(), blender::math::projection::orthographic(), region, and state.
|
inlinefinalvirtual |
Command Submission.
Implements DrawEngine.
Definition at line 121 of file image_instance.hh.
References DRW_submission_end(), DRW_submission_start(), and state.
|
inlinefinalvirtual |
|
inline |
Definition at line 85 of file image_instance.hh.
References BKE_image_multilayer_index(), BKE_image_multiview_index(), DRW_context_get(), IMA_SRC_TILED, lock, region, blender::eevee::Instance::scene, DRWContext::scene, state, ImBuf::x, and ImBuf::y.
Referenced by begin_sync().
|
inlinefinalvirtual |
Init engine. Run first and for every redraw.
Implements DrawEngine.
Definition at line 62 of file image_instance.hh.
References CTX_data_main(), DRW_context_get(), DRW_manager_get(), DRWContext::evil_C, final, manager, region, DRWContext::region, blender::image_engine::space_accessor_from_space(), and DRWContext::space_data.
|
inlinefinalvirtual |
Implements DrawEngine.
Definition at line 117 of file image_instance.hh.
Definition at line 50 of file image_instance.hh.
Referenced by init().
| const ARegion* blender::image_engine::Instance::region |
Definition at line 48 of file image_instance.hh.
Referenced by begin_sync(), image_sync(), and init().
| State blender::image_engine::Instance::state |
Definition at line 49 of file image_instance.hh.
Referenced by begin_sync(), draw(), and image_sync().