|
Blender V4.5
|
Contains procedural GPU hair drawing methods. More...
#include "DNA_scene_types.h"#include "DRW_render.hh"#include "BLI_math_matrix.h"#include "BLI_math_vector.h"#include "DNA_collection_types.h"#include "DNA_modifier_types.h"#include "DNA_particle_types.h"#include "BKE_duplilist.hh"#include "GPU_batch.hh"#include "GPU_capabilities.hh"#include "GPU_material.hh"#include "GPU_shader.hh"#include "GPU_texture.hh"#include "GPU_vertex_buffer.hh"#include "DRW_gpu_wrapper.hh"#include "draw_common_c.hh"#include "draw_context_private.hh"#include "draw_hair_private.hh"#include "draw_manager.hh"#include "draw_shader.hh"#include "draw_shader_shared.hh"#include "draw_common.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::draw |
Contains procedural GPU hair drawing methods.
Definition in file draw_hair.cc.
| void DRW_hair_duplimat_get | ( | const blender::draw::ObjectRef & | ob_ref, |
| ParticleSystem * | psys, | ||
| ModifierData * | md, | ||
| float(*) | dupli_mat[4] ) |
Definition at line 101 of file draw_hair.cc.
References copy_m4_m4(), blender::draw::ObjectRef::dupli_object, blender::draw::ObjectRef::dupli_parent, Object::instance_collection, Collection::instance_offset, invert_m4(), mul_m4_m4m4(), DupliObject::ob, OB_DUPLICOLLECTION, blender::draw::ObjectRef::object, sub_v3_v3(), DupliObject::type, and unit_m4().
Referenced by blender::draw::hair_sub_pass_setup_implementation().
|
static |
Definition at line 67 of file draw_hair.cc.
References drw_hair_particle_cache_update_compute(), blender::draw::particles_ensure_procedural_data(), and update().
Referenced by DRW_hair_pos_buffer_get(), and blender::draw::hair_sub_pass_setup_implementation().
|
static |
Definition at line 39 of file draw_hair.cc.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ssbo(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), DRWData::curves_module, DRWContext::data, blender::draw::detail::PassBase< DrawCommandBufType >::dispatch(), drw_get(), DRW_shader_hair_refine_get(), ParticleHairCache::final, GPU_max_work_group_count(), PART_REFINE_CATMULL_ROM, ParticleHairFinalCache::proc_buf, ParticleHairCache::proc_point_buf, ParticleHairCache::proc_strand_buf, ParticleHairCache::proc_strand_seg_buf, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::draw::CurvesModule::refine, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), ParticleHairCache::strands_len, and ParticleHairFinalCache::strands_res.
Referenced by drw_hair_particle_cache_get().
| blender::gpu::VertBuf * DRW_hair_pos_buffer_get | ( | Object * | object, |
| ParticleSystem * | psys, | ||
| ModifierData * | md ) |
Definition at line 85 of file draw_hair.cc.
References DRW_context_get(), drw_hair_particle_cache_get(), ParticleHairCache::final, RenderData::hair_subdiv, RenderData::hair_type, ParticleHairFinalCache::proc_buf, Scene::r, SCE_HAIR_SHAPE_STRAND, and DRWContext::scene.
Referenced by blender::eevee::VelocityModule::step_object_sync().