|
Blender V4.3
|
#include <draw_curves_private.hh>
Public Attributes | |
| int | hair_subdiv |
| int | thickres |
| gpu::VertBuf * | proc_buf |
| gpu::Batch * | proc_hairs |
| int | resolution |
| DRW_Attributes | attr_used |
| DRW_Attributes | attr_used_over_time |
| int | last_attr_matching_time |
| gpu::VertBuf * | attributes_buf [GPU_MAX_ATTR] |
Definition at line 33 of file draw_curves_private.hh.
| DRW_Attributes blender::draw::CurvesEvalFinalCache::attr_used |
Attributes currently being drawn or about to be drawn.
Definition at line 49 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::DRW_shgroup_curves_create_sub(), blender::draw::ensure_attributes(), and blender::draw::request_attribute().
| DRW_Attributes 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 55 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 66 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::DRW_shgroup_curves_create_sub(), 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 35 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 62 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 40 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(), blender::draw::DRW_curves_pos_buffer_get(), and blender::draw::DRW_shgroup_curves_create_sub().
| gpu::Batch* blender::draw::CurvesEvalFinalCache::proc_hairs |
Just contains a huge index buffer used to draw the final curves.
Definition at line 43 of file draw_curves_private.hh.
Referenced by blender::draw::calc_final_indices(), blender::draw::clear_final_data(), blender::draw::curves_ensure_procedural_data(), blender::draw::curves_sub_pass_setup_implementation(), and blender::draw::DRW_shgroup_curves_create_sub().
| int blender::draw::CurvesEvalFinalCache::resolution |
Points per curve, at least 2.
Definition at line 46 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_shgrp_attach_resources(), blender::draw::drw_curves_cache_update_compute(), blender::draw::drw_curves_cache_update_compute(), and blender::draw::DRW_shgroup_curves_create_sub().
| int blender::draw::CurvesEvalFinalCache::thickres |
Definition at line 37 of file draw_curves_private.hh.
Referenced by blender::draw::curves_ensure_procedural_data().