|
Blender V4.5
|
#include <draw_curves_private.hh>
Public Attributes | |
| int | hair_subdiv |
| int | thickres |
| gpu::VertBuf * | proc_buf |
| gpu::Batch * | proc_hairs |
| int | resolution |
| VectorSet< std::string > | attr_used |
| VectorSet< std::string > | attr_used_over_time |
| int | last_attr_matching_time |
| gpu::VertBuf * | attributes_buf [GPU_MAX_ATTR] |
Definition at line 36 of file draw_curves_private.hh.
| VectorSet<std::string> blender::draw::CurvesEvalFinalCache::attr_used |
Attributes currently being drawn or about to be drawn.
Definition at line 52 of file draw_curves_private.hh.
Referenced by blender::draw::curves_cache_get(), blender::draw::curves_sub_pass_setup_implementation(), blender::draw::discard_attributes(), blender::draw::DRW_curves_batch_cache_free_old(), blender::draw::drw_curves_cache_update_compute(), blender::draw::DRW_curves_texture_for_evaluated_attribute(), blender::draw::ensure_attributes(), and blender::draw::request_attribute().
| VectorSet<std::string> blender::draw::CurvesEvalFinalCache::attr_used_over_time |
Attributes that were used at some point. This is used for garbage collection, to remove attributes that are not used in shaders anymore due to user edits.
Definition at line 58 of file draw_curves_private.hh.
Referenced by blender::draw::DRW_curves_batch_cache_free_old(), and blender::draw::ensure_attributes().
| gpu::VertBuf* blender::draw::CurvesEvalFinalCache::attributes_buf[GPU_MAX_ATTR] |
Definition at line 69 of file draw_curves_private.hh.
Referenced by blender::draw::alloc_final_attribute_vbo(), blender::draw::clear_final_data(), blender::draw::curves_cache_get(), blender::draw::curves_sub_pass_setup_implementation(), blender::draw::discard_attributes(), blender::draw::drw_curves_cache_update_compute(), blender::draw::DRW_curves_texture_for_evaluated_attribute(), blender::draw::ensure_attributes(), and blender::draw::ensure_final_attribute().
| int blender::draw::CurvesEvalFinalCache::hair_subdiv |
The "additional subdivision" setting from the scene. See MAX_HAIR_SUBDIV.
Definition at line 38 of file draw_curves_private.hh.
Referenced by blender::draw::curves_ensure_procedural_data().
| int blender::draw::CurvesEvalFinalCache::last_attr_matching_time |
The last time in seconds that the attr_used and attr_used_over_time were exactly the same. If the delta between this time and the current scene time is greater than the timeout set in user preferences (U.vbotimeout) then garbage collection is performed.
Definition at line 65 of file draw_curves_private.hh.
Referenced by blender::draw::DRW_curves_batch_cache_free_old().
| gpu::VertBuf* blender::draw::CurvesEvalFinalCache::proc_buf |
Definition at line 43 of file draw_curves_private.hh.
Referenced by blender::draw::alloc_final_points_vbo(), blender::draw::clear_final_data(), blender::draw::curves_cache_get(), blender::draw::curves_ensure_procedural_data(), blender::draw::curves_pos_buffer_get(), blender::draw::curves_sub_pass_setup_implementation(), blender::draw::drw_curves_cache_update_compute(), and blender::draw::DRW_curves_pos_buffer_get().
| gpu::Batch* blender::draw::CurvesEvalFinalCache::proc_hairs |
Just contains a huge index buffer used to draw the final curves.
Definition at line 46 of file draw_curves_private.hh.
Referenced by blender::draw::calc_final_indices(), blender::draw::clear_final_data(), blender::draw::curves_ensure_procedural_data(), and blender::draw::curves_sub_pass_setup_implementation().
| int blender::draw::CurvesEvalFinalCache::resolution |
Points per curve, at least 2.
Definition at line 49 of file draw_curves_private.hh.
Referenced by blender::draw::alloc_final_attribute_vbo(), blender::draw::alloc_final_points_vbo(), blender::draw::calc_final_indices(), blender::draw::curves_cache_get(), blender::draw::curves_ensure_procedural_data(), blender::draw::curves_sub_pass_setup_implementation(), blender::draw::drw_curves_cache_update_compute(), and blender::draw::drw_curves_cache_update_compute().
| int blender::draw::CurvesEvalFinalCache::thickres |
Definition at line 40 of file draw_curves_private.hh.
Referenced by blender::draw::curves_ensure_procedural_data().