Blender V4.3
blender::draw::PointCloudEvalCache Struct Reference

Public Attributes

gpu::Batch * dots
 
gpu::Batch * surface
 
gpu::Batch ** surface_per_mat
 
gpu::IndexBufgeom_indices
 
gpu::VertBufpos_rad
 
gpu::VertBufattr_viewer
 
gpu::VertBufattributes_buf [GPU_MAX_ATTR]
 
DRW_Attributes attr_used
 
DRW_Attributes attr_used_over_time
 
int last_attr_matching_time
 
int mat_len
 

Detailed Description

Definition at line 42 of file draw_cache_impl_pointcloud.cc.

Member Data Documentation

◆ attr_used

◆ attr_used_over_time

DRW_Attributes blender::draw::PointCloudEvalCache::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 65 of file draw_cache_impl_pointcloud.cc.

Referenced by blender::draw::DRW_pointcloud_batch_cache_free_old(), and blender::draw::pointcloud_surface_shaded_get().

◆ attr_viewer

gpu::VertBuf* blender::draw::PointCloudEvalCache::attr_viewer

◆ attributes_buf

◆ dots

◆ geom_indices

gpu::IndexBuf* blender::draw::PointCloudEvalCache::geom_indices

◆ last_attr_matching_time

int blender::draw::PointCloudEvalCache::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 72 of file draw_cache_impl_pointcloud.cc.

Referenced by blender::draw::DRW_pointcloud_batch_cache_free_old().

◆ mat_len

◆ pos_rad

◆ surface

◆ surface_per_mat


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