Blender V4.3
blender::draw::overlay::Fluids Class Reference

#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)
 

Detailed Description

Definition at line 20 of file overlay_next_fluid.hh.

Constructor & Destructor Documentation

◆ Fluids()

blender::draw::overlay::Fluids::Fluids ( const SelectionType selection_type)
inline

Definition at line 37 of file overlay_next_fluid.hh.

Member Function Documentation

◆ begin_sync()

◆ draw()

void blender::draw::overlay::Fluids::draw ( Framebuffer & framebuffer,
Manager & manager,
View & view )
inline

◆ end_sync()

◆ object_sync()

void blender::draw::overlay::Fluids::object_sync ( Manager & manager,
const ObjectRef & ob_ref,
Resources & res,
const State & state )
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.


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