|
Blender V4.3
|
#include <overlay_next_fluid.hh>
Public Member Functions | |
| Fluids (const SelectionType selection_type) | |
| void | begin_sync (Resources &res, const State &state) |
| void | object_sync (Manager &manager, const ObjectRef &ob_ref, Resources &res, const State &state) |
| void | end_sync (Resources &res, ShapeCache &shapes, const State &) |
| void | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 20 of file overlay_next_fluid.hh.
|
inline |
Definition at line 37 of file overlay_next_fluid.hh.
Definition at line 39 of file overlay_next_fluid.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::clear(), blender::math::dominant_axis(), DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, DRW_view_default_get(), blender::draw::overlay::ShaderModule::fluid_grid_lines_flags, blender::draw::overlay::ShaderModule::fluid_grid_lines_flat, blender::draw::overlay::ShaderModule::fluid_grid_lines_range, blender::draw::overlay::ShaderModule::fluid_velocity_mac, blender::draw::overlay::ShaderModule::fluid_velocity_needle, blender::draw::overlay::ShaderModule::fluid_velocity_streamline, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::select::SelectMap::select_bind(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, state, blender::draw::detail::PassBase< DrawCommandBufType >::sub(), and View().
|
inline |
Definition at line 238 of file overlay_next_fluid.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 230 of file overlay_next_fluid.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), blender::draw::overlay::ShapeCache::cube, blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync(), blender::draw::overlay::ShaderModule::extra_shape, blender::draw::overlay::Resources::globals_buf, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), and blender::draw::overlay::Resources::shaders.
|
inline |
Definition at line 76 of file overlay_next_fluid.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), ATTR_FALLTHROUGH, FluidDomainSettings::axis_slice_method, AXIS_SLICE_SINGLE, Object::base_flag, BASE_FROM_DUPLI, BASE_FROM_SET, blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), BKE_modifiers_findby_type(), BLI_assert, FluidDomainSettings::cache_frame_start, FluidDomainSettings::cell_size, FluidDomainSettings::coba_field, FluidModifierData::domain, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), FluidDomainSettings::draw_velocity, DRW_fluid_ensure_flags(), DRW_fluid_ensure_range_field(), DRW_smoke_ensure_velocity(), eModifierType_Fluid, FluidDomainSettings::fluid, FLUID_DISPLAY_INTERP_CLOSEST, FLUID_DOMAIN_FIELD_FLAGS, FLUID_DOMAIN_VECTOR_FIELD_FORCE, FLUID_GRIDLINE_COLOR_TYPE_FLAGS, FLUID_GRIDLINE_COLOR_TYPE_NONE, FLUID_GRIDLINE_COLOR_TYPE_RANGE, blender::math::from_loc_scale(), blender::draw::select::ID::get(), GPU_PRIM_LINES, FluidDomainSettings::gridlines_cell_filter, FluidDomainSettings::gridlines_color_field, FluidDomainSettings::gridlines_lower_bound, FluidDomainSettings::gridlines_range_color, FluidDomainSettings::gridlines_upper_bound, FluidDomainSettings::interp_method, min, blender::draw::ObjectRef::object, blender::draw::overlay::Resources::object_wire_color(), FluidDomainSettings::p0, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::math::reduce_mul(), FluidDomainSettings::res, FluidDomainSettings::res_min, blender::draw::select::SelectMap::select_id(), FluidDomainSettings::show_gridlines, FluidDomainSettings::slice_depth, state, FluidDomainSettings::tex_flags, FluidDomainSettings::tex_range_field, FluidDomainSettings::tex_velocity_x, FluidDomainSettings::tex_velocity_y, FluidDomainSettings::tex_velocity_z, blender::math::translate(), blender::draw::Manager::unique_handle(), FluidDomainSettings::use_coba, VECTOR_DRAW_MAC, FluidDomainSettings::vector_draw_mac_components, VECTOR_DRAW_MAC_X, VECTOR_DRAW_MAC_Y, VECTOR_DRAW_MAC_Z, VECTOR_DRAW_NEEDLE, VECTOR_DRAW_STREAMLINE, FluidDomainSettings::vector_draw_type, FluidDomainSettings::vector_field, FluidDomainSettings::vector_scale, and FluidDomainSettings::vector_scale_with_magnitude.