Blender V5.3
BKE_fluid.h File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Typedefs

typedef float(*) blender::BKE_Fluid_BresenhamFn(float *result, const float *input, int res[3], int *pixel, float *tRay, float correct)

Functions

struct Mesh * blender::BKE_fluid_modifier_do (struct FluidModifierData *fmd, struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct Mesh *mesh)
void blender::BKE_fluid_modifier_copy (const struct FluidModifierData *fmd, struct FluidModifierData *tfmd, int flag)
bool blender::BKE_fluid_reallocate_fluid (struct FluidDomainSettings *fds, int res[3], int free_old)
void blender::BKE_fluid_reallocate_copy_fluid (struct FluidDomainSettings *fds, int o_res[3], int n_res[3], const int o_min[3], const int n_min[3], const int o_max[3], int o_shift[3], int n_shift[3])
void blender::BKE_fluid_cache_free_all (struct FluidDomainSettings *fds, struct Object *ob)
void blender::BKE_fluid_cache_free (struct FluidDomainSettings *fds, struct Object *ob, int cache_map)
float blender::BKE_fluid_get_velocity_at (struct Object *ob, float position[3], float velocity[3])
int blender::BKE_fluid_get_data_flags (struct FluidDomainSettings *fds)
void blender::BKE_fluid_particle_system_create (struct Main *bmain, struct Object *ob, const char *pset_name, const char *parts_name, const char *psys_name, eParticleType psys_type)
void blender::BKE_fluid_particle_system_destroy (struct Object *ob, int particle_type)
Public Modifier API

Use for versioning, even when fluids are disabled.

void blender::BKE_fluid_modifier_free (struct FluidModifierData *fmd)
void blender::BKE_fluid_modifier_reset (struct FluidModifierData *fmd)
void blender::BKE_fluid_modifier_create_type_data (struct FluidModifierData *fmd)
void blender::BKE_fluid_cache_new_name_for_current_session (int maxlen, char *r_name)
Public Data Access API

Use for versioning, even when fluids are disabled.

void blender::BKE_fluid_cache_startframe_set (struct FluidDomainSettings *settings, int value)
void blender::BKE_fluid_cache_endframe_set (struct FluidDomainSettings *settings, int value)
void blender::BKE_fluid_cachetype_mesh_set (struct FluidDomainSettings *settings, eFluidDomain_FileFormat cache_mesh_format)
void blender::BKE_fluid_cachetype_data_set (struct FluidDomainSettings *settings, eFluidDomain_FileFormat cache_data_format)
void blender::BKE_fluid_cachetype_particle_set (struct FluidDomainSettings *settings, eFluidDomain_FileFormat cache_particle_format)
void blender::BKE_fluid_cachetype_noise_set (struct FluidDomainSettings *settings, eFluidDomain_FileFormat cache_noise_format)
void blender::BKE_fluid_collisionextents_set (struct FluidDomainSettings *settings, eFluidDomain_BorderFlags value, bool clear)
void blender::BKE_fluid_particles_set (struct FluidDomainSettings *settings, eFluidDomain_ParticleTypes value, bool clear)
void blender::BKE_fluid_domain_type_set (struct Object *object, struct FluidDomainSettings *settings, eFluidDomain_Type type)
void blender::BKE_fluid_flow_type_set (struct Object *object, struct FluidFlowSettings *settings, eFluidFlow_Type type)
void blender::BKE_fluid_effector_type_set (struct Object *object, struct FluidEffectorSettings *settings, eFluidEffector_Type type)
void blender::BKE_fluid_fields_sanitize (struct FluidDomainSettings *settings)
void blender::BKE_fluid_flow_behavior_set (struct Object *object, struct FluidFlowSettings *settings, eFluidFlow_Behavior behavior)