Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_common.h
| Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | |||||
| void DRW_curves_update(void); | void DRW_curves_update(void); | ||||
| void DRW_curves_free(void); | void DRW_curves_free(void); | ||||
| /* draw_volume.cc */ | /* draw_volume.cc */ | ||||
| /** | /** | ||||
| * Add attributes bindings of volume grids to an existing shading group. | * Add attributes bindings of volume grids to an existing shading group. | ||||
| * No draw call is added so the caller can decide how to use the data. | * No draw call is added so the caller can decide how to use the data. | ||||
| * \return nullptr if there is something to draw. | * \return nullptr if there is nothing to draw. | ||||
| */ | */ | ||||
| struct DRWShadingGroup *DRW_shgroup_volume_create_sub(struct Scene *scene, | struct DRWShadingGroup *DRW_shgroup_volume_create_sub(struct Scene *scene, | ||||
| struct Object *ob, | struct Object *ob, | ||||
| struct DRWShadingGroup *shgrp, | struct DRWShadingGroup *shgrp, | ||||
| struct GPUMaterial *gpu_material); | struct GPUMaterial *gpu_material); | ||||
| void DRW_volume_init(struct DRWData *drw_data); | void DRW_volume_init(struct DRWData *drw_data); | ||||
| void DRW_volume_ubos_pool_free(void *pool); | void DRW_volume_ubos_pool_free(void *pool); | ||||
| Show All 36 Lines | |||||