Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/DRW_render.h
| Show First 20 Lines • Show All 404 Lines • ▼ Show 20 Lines | void DRW_shgroup_call_instances(DRWShadingGroup *shgroup, | ||||
| struct GPUBatch *geom, | struct GPUBatch *geom, | ||||
| uint count); | uint count); | ||||
| /* Warning: Only use with Shaders that have INSTANCED_ATTR defined. */ | /* Warning: Only use with Shaders that have INSTANCED_ATTR defined. */ | ||||
| void DRW_shgroup_call_instances_with_attrs(DRWShadingGroup *shgroup, | void DRW_shgroup_call_instances_with_attrs(DRWShadingGroup *shgroup, | ||||
| Object *ob, | Object *ob, | ||||
| struct GPUBatch *geom, | struct GPUBatch *geom, | ||||
| struct GPUBatch *inst_attributes); | struct GPUBatch *inst_attributes); | ||||
| void DRW_shgroup_call_sculpt(DRWShadingGroup *sh, Object *ob, bool wire, bool mask, bool vcol); | void DRW_shgroup_call_sculpt(DRWShadingGroup *sh, Object *ob, bool wire, bool mask); | ||||
| void DRW_shgroup_call_sculpt_with_materials(DRWShadingGroup **sh, | void DRW_shgroup_call_sculpt_with_materials(DRWShadingGroup **sh, int num_sh, Object *ob); | ||||
| int num_sh, | |||||
| Object *ob, | |||||
| bool vcol); | |||||
| DRWCallBuffer *DRW_shgroup_call_buffer(DRWShadingGroup *shading_group, | DRWCallBuffer *DRW_shgroup_call_buffer(DRWShadingGroup *shading_group, | ||||
| struct GPUVertFormat *format, | struct GPUVertFormat *format, | ||||
| GPUPrimType prim_type); | GPUPrimType prim_type); | ||||
| DRWCallBuffer *DRW_shgroup_call_buffer_instance(DRWShadingGroup *shading_group, | DRWCallBuffer *DRW_shgroup_call_buffer_instance(DRWShadingGroup *shading_group, | ||||
| struct GPUVertFormat *format, | struct GPUVertFormat *format, | ||||
| struct GPUBatch *geom); | struct GPUBatch *geom); | ||||
| ▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines | |||||