Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_cache.c
| Show First 20 Lines • Show All 3,273 Lines • ▼ Show 20 Lines | |||||
| * \{ */ | * \{ */ | ||||
| GPUBatch *DRW_cache_volume_face_wireframe_get(Object *ob) | GPUBatch *DRW_cache_volume_face_wireframe_get(Object *ob) | ||||
| { | { | ||||
| BLI_assert(ob->type == OB_VOLUME); | BLI_assert(ob->type == OB_VOLUME); | ||||
| return DRW_volume_batch_cache_get_wireframes_face(ob->data); | return DRW_volume_batch_cache_get_wireframes_face(ob->data); | ||||
| } | } | ||||
| GPUBatch *DRW_cache_volume_selection_surface_get(Object *ob) | |||||
| { | |||||
| BLI_assert(ob->type == OB_VOLUME); | |||||
| return DRW_volume_batch_cache_get_selection_surface(ob->data); | |||||
| } | |||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Particles | /** \name Particles | ||||
| * \{ */ | * \{ */ | ||||
| GPUBatch *DRW_cache_particles_get_hair(Object *object, ParticleSystem *psys, ModifierData *md) | GPUBatch *DRW_cache_particles_get_hair(Object *object, ParticleSystem *psys, ModifierData *md) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines | |||||