|
Blender V4.3
|
#include <overlay_next_private.hh>
Inherits blender::draw::select::SelectMap.
Public Member Functions | |
| Resources (const SelectionType selection_type_, ShaderModule &shader_module) | |
| ~Resources () | |
| void | begin_sync () |
| ThemeColorID | object_wire_theme_id (const ObjectRef &ob_ref, const State &state) const |
| const float4 & | object_wire_color (const ObjectRef &ob_ref, ThemeColorID theme_id) const |
| const float4 & | object_wire_color (const ObjectRef &ob_ref, const State &state) const |
| float4 | background_blend_color (ThemeColorID theme_id) const |
| float4 | object_background_blend_color (const ObjectRef &ob_ref, const State &state) const |
| float4 | background_color_get (const State &state) |
| void | free_movieclips_textures () |
Public Member Functions inherited from blender::draw::select::SelectMap | |
| SelectMap (const SelectionType selection_type) | |
| const ID | select_id (const ObjectRef &ob_ref, uint sub_object_id=0) |
| void | begin_sync () |
| void | select_bind (PassSimple &pass) |
| void | select_bind (PassMain &pass) |
| void | select_bind (PassMain &pass, PassMain::Sub &sub) |
| void | end_sync () |
| void | read_result () |
Additional Inherited Members | |
Static Public Member Functions inherited from blender::draw::select::SelectMap | |
| static const ID | select_invalid_id () |
Definition at line 325 of file overlay_next_private.hh.
|
inline |
Definition at line 392 of file overlay_next_private.hh.
References select().
|
inline |
Definition at line 395 of file overlay_next_private.hh.
References free_movieclips_textures().
|
inline |
Definition at line 478 of file overlay_next_private.hh.
References TH_BACK, and UI_GetThemeColorBlendShade4fv().
Referenced by object_background_blend_color().
Definition at line 491 of file overlay_next_private.hh.
References state, TH_BACK, UI_GetThemeColor3fv(), V3D_SHADING_BACKGROUND_VIEWPORT, and V3D_SHADING_BACKGROUND_WORLD.
Referenced by blender::draw::overlay::Fade::begin_sync().
|
inline |
Definition at line 400 of file overlay_next_private.hh.
References free_movieclips_textures().
Referenced by blender::draw::overlay::Instance::begin_sync().
|
inline |
Definition at line 506 of file overlay_next_private.hh.
References bg_movie_clips, and BKE_movieclip_free_gputexture().
Referenced by begin_sync(), and ~Resources().
|
inline |
Definition at line 485 of file overlay_next_private.hh.
References background_blend_color(), object_wire_theme_id(), and state.
Referenced by blender::draw::overlay::ForceFields::object_sync().
|
inline |
Definition at line 472 of file overlay_next_private.hh.
References object_wire_color(), object_wire_theme_id(), and state.
|
inline |
Definition at line 445 of file overlay_next_private.hh.
References Object::base_flag, BASE_FROM_SET, GlobalsUboStorage::color_active, GlobalsUboStorage::color_camera, GlobalsUboStorage::color_empty, GlobalsUboStorage::color_light, GlobalsUboStorage::color_select, GlobalsUboStorage::color_speaker, GlobalsUboStorage::color_transform, GlobalsUboStorage::color_wire, GlobalsUboStorage::color_wire_edit, blender::draw::ObjectRef::object, TH_ACTIVE, TH_CAMERA, TH_EMPTY, TH_LIGHT, TH_SELECT, TH_SPEAKER, TH_TRANSFORM, TH_WIRE_EDIT, theme_settings, and UNLIKELY.
Referenced by blender::draw::overlay::Armatures::create_draw_context(), blender::draw::overlay::Bounds::object_sync(), blender::draw::overlay::Cameras::object_sync(), blender::draw::overlay::Empties::object_sync(), blender::draw::overlay::Fluids::object_sync(), blender::draw::overlay::Lattices::object_sync(), blender::draw::overlay::LightProbes::object_sync(), blender::draw::overlay::Lights::object_sync(), blender::draw::overlay::Metaballs::object_sync(), blender::draw::overlay::Speakers::object_sync(), and object_wire_color().
|
inline |
Definition at line 406 of file overlay_next_private.hh.
References Object::base_flag, BASE_SELECTED, blender::draw::ObjectRef::dupli_parent, G, G_TRANSFORM_OBJ, Object::mode, OB_CAMERA, OB_EMPTY, OB_LAMP, OB_LIGHTPROBE, OB_MODE_EDIT, OB_SPEAKER, blender::draw::ObjectRef::object, state, TH_ACTIVE, TH_CAMERA, TH_EMPTY, TH_LIGHT, TH_SELECT, TH_SPEAKER, TH_TRANSFORM, TH_WIRE, TH_WIRE_EDIT, and Object::type.
Referenced by object_background_blend_color(), blender::draw::overlay::LightProbes::object_sync(), and object_wire_color().
Definition at line 390 of file overlay_next_private.hh.
Referenced by free_movieclips_textures().
| TextureFromPool blender::draw::overlay::Resources::color_overlay_alloc_tx = {"overlay_color_overlay_alloc_tx"} |
Definition at line 359 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::color_overlay_tx |
Definition at line 372 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureFromPool blender::draw::overlay::Resources::color_render_alloc_tx = {"overlay_color_render_alloc_tx"} |
Definition at line 360 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::color_render_tx |
Definition at line 373 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Background::begin_sync(), and blender::draw::overlay::Instance::draw().
| TextureFromPool blender::draw::overlay::Resources::depth_in_front_alloc_tx = {"overlay_depth_in_front_tx"} |
Definition at line 358 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::depth_in_front_tx |
Definition at line 371 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::XrayFade::begin_sync(), and blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::depth_target_in_front_tx |
Definition at line 388 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::depth_target_tx |
Depth target. Can either be default depth buffer texture from DefaultTextureList or xray_depth_tx if X-ray is enabled.
Definition at line 387 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureRef blender::draw::overlay::Resources::depth_tx |
Scene depth buffer that can also be used as render target for overlays.
Can only be bound as a texture if either:
state.xray_enabled is true. Definition at line 381 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::AntiAliasing::begin_sync(), blender::draw::overlay::Armatures::begin_sync(), blender::draw::overlay::Background::begin_sync(), blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::LightProbes::begin_sync(), blender::draw::overlay::Meshes::begin_sync(), blender::draw::overlay::Outline::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), blender::draw::overlay::XrayFade::begin_sync(), blender::draw::overlay::Instance::draw(), and blender::draw::overlay::Outline::draw().
| Texture blender::draw::overlay::Resources::dummy_depth_tx = {"dummy_depth_tx"} |
Definition at line 362 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Armatures::begin_sync(), blender::draw::overlay::Meshes::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), and blender::draw::overlay::Instance::init().
| GPUUniformBuf* blender::draw::overlay::Resources::globals_buf |
Definition at line 368 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::AntiAliasing::begin_sync(), blender::draw::overlay::Armatures::begin_sync(), blender::draw::overlay::Background::begin_sync(), blender::draw::overlay::Cameras::begin_sync(), blender::draw::overlay::Curves::begin_sync(), blender::draw::overlay::Empties::begin_sync(), blender::draw::overlay::Facing::begin_sync(), blender::draw::overlay::GreasePencil::begin_sync(), blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::Lattices::begin_sync(), blender::draw::overlay::LightProbes::begin_sync(), blender::draw::overlay::Meshes::begin_sync(), blender::draw::overlay::MeshUVs::begin_sync(), blender::draw::overlay::ModeTransfer::begin_sync(), blender::draw::overlay::MotionPath::begin_sync(), blender::draw::overlay::Outline::begin_sync(), blender::draw::overlay::Paints::begin_sync(), blender::draw::overlay::Particles::begin_sync(), blender::draw::overlay::Prepass::begin_sync(), blender::draw::overlay::Sculpts::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), blender::draw::overlay::Bounds::end_sync(), blender::draw::overlay::Cameras::end_sync(), blender::draw::overlay::EditText::end_sync(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::Fluids::end_sync(), blender::draw::overlay::ForceFields::end_sync(), blender::draw::overlay::LightProbes::end_sync(), blender::draw::overlay::Lights::end_sync(), blender::draw::overlay::Metaballs::end_sync(), blender::draw::overlay::Origins::end_sync(), blender::draw::overlay::Relations::end_sync(), blender::draw::overlay::Speakers::end_sync(), and blender::draw::overlay::Instance::init().
| TextureFromPool blender::draw::overlay::Resources::line_tx = {"line_tx"} |
Definition at line 350 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::AntiAliasing::begin_sync(), and blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_color_only_fb = {"overlay_color_only_fb"} |
Definition at line 329 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::XrayFade::begin_sync(), and blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_fb = {"overlay_fb"} |
Definition at line 333 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_in_front_fb = {"overlay_in_front_fb"} |
Definition at line 337 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_line_fb = {"overlay_line_fb"} |
Definition at line 335 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_line_in_front_fb = {"overlay_line_in_front_fb"} |
Definition at line 339 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_line_only_fb = {"overlay_line_only_fb"} |
Definition at line 331 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Outline::begin_sync(), and blender::draw::overlay::Instance::draw().
| Framebuffer blender::draw::overlay::Resources::overlay_output_fb = {"overlay_output_fb"} |
Definition at line 342 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| TextureFromPool blender::draw::overlay::Resources::overlay_tx = {"overlay_tx"} |
Definition at line 352 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::AntiAliasing::begin_sync(), and blender::draw::overlay::Instance::draw().
| GPUFrameBuffer* blender::draw::overlay::Resources::render_fb = nullptr |
Definition at line 346 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| GPUFrameBuffer* blender::draw::overlay::Resources::render_in_front_fb = nullptr |
Definition at line 347 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Instance::draw().
| ShaderModule& blender::draw::overlay::Resources::shaders |
Definition at line 326 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::AntiAliasing::begin_sync(), blender::draw::overlay::Armatures::begin_sync(), blender::draw::overlay::AttributeViewer::begin_sync(), blender::draw::overlay::Background::begin_sync(), blender::draw::overlay::Cameras::begin_sync(), blender::draw::overlay::Curves::begin_sync(), blender::draw::overlay::Empties::begin_sync(), blender::draw::overlay::Facing::begin_sync(), blender::draw::overlay::Fade::begin_sync(), blender::draw::overlay::Fluids::begin_sync(), blender::draw::overlay::GreasePencil::begin_sync(), blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::Lattices::begin_sync(), blender::draw::overlay::LightProbes::begin_sync(), blender::draw::overlay::Meshes::begin_sync(), blender::draw::overlay::MeshUVs::begin_sync(), blender::draw::overlay::ModeTransfer::begin_sync(), blender::draw::overlay::MotionPath::begin_sync(), blender::draw::overlay::Outline::begin_sync(), blender::draw::overlay::Paints::begin_sync(), blender::draw::overlay::Particles::begin_sync(), blender::draw::overlay::Prepass::begin_sync(), blender::draw::overlay::Sculpts::begin_sync(), blender::draw::overlay::Wireframe::begin_sync(), blender::draw::overlay::XrayFade::begin_sync(), blender::draw::overlay::Bounds::end_sync(), blender::draw::overlay::Cameras::end_sync(), blender::draw::overlay::EditText::end_sync(), blender::draw::overlay::Empties::end_sync(), blender::draw::overlay::Fluids::end_sync(), blender::draw::overlay::ForceFields::end_sync(), blender::draw::overlay::LightProbes::end_sync(), blender::draw::overlay::Lights::end_sync(), blender::draw::overlay::MeshUVs::end_sync(), blender::draw::overlay::Metaballs::end_sync(), blender::draw::overlay::Origins::end_sync(), blender::draw::overlay::Relations::end_sync(), and blender::draw::overlay::Speakers::end_sync().
| GlobalsUboStorage blender::draw::overlay::Resources::theme_settings |
TODO(fclem): Copy of G_data.block that should become theme colors only and managed by the engine.
Definition at line 366 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Background::begin_sync(), blender::draw::overlay::Grid::begin_sync(), blender::draw::overlay::Metaballs::edit_object_sync(), blender::draw::overlay::Instance::init(), blender::draw::overlay::Origins::object_sync(), blender::draw::overlay::Relations::object_sync(), and object_wire_color().
| TextureRef blender::draw::overlay::Resources::weight_ramp_tx |
Definition at line 369 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::Curves::begin_sync(), blender::draw::overlay::GreasePencil::begin_sync(), blender::draw::overlay::Lattices::begin_sync(), blender::draw::overlay::Meshes::begin_sync(), blender::draw::overlay::Paints::begin_sync(), blender::draw::overlay::Particles::begin_sync(), and blender::draw::overlay::Instance::init().
| TextureFromPool blender::draw::overlay::Resources::xray_depth_tx = {"xray_depth_tx"} |
Definition at line 354 of file overlay_next_private.hh.
Referenced by blender::draw::overlay::XrayFade::begin_sync(), and blender::draw::overlay::Instance::draw().