Blender
V3.3
|
Go to the source code of this file.
Functions | |
GPUDrawList * | GPU_draw_list_create (int list_length) |
void | GPU_draw_list_discard (GPUDrawList *list) |
void | GPU_draw_list_append (GPUDrawList *list, GPUBatch *batch, int i_first, int i_count) |
void | GPU_draw_list_submit (GPUDrawList *list) |
Implementation of Multi Draw Indirect.
Definition in file gpu_drawlist.cc.
void GPU_draw_list_append | ( | GPUDrawList * | list, |
GPUBatch * | batch, | ||
int | i_first, | ||
int | i_count | ||
) |
Definition at line 30 of file gpu_drawlist.cc.
References blender::gpu::DrawList::append(), batch, and blender::gpu::unwrap().
Referenced by draw_indirect_call().
GPUDrawList* GPU_draw_list_create | ( | int | list_length | ) |
Definition at line 18 of file gpu_drawlist.cc.
References blender::gpu::GPUBackend::drawlist_alloc(), blender::gpu::GPUBackend::get(), and blender::gpu::wrap().
Referenced by drw_manager_init().
void GPU_draw_list_discard | ( | GPUDrawList * | list | ) |
Definition at line 24 of file gpu_drawlist.cc.
References blender::gpu::unwrap().
Referenced by DRW_engines_free().
void GPU_draw_list_submit | ( | GPUDrawList * | list | ) |
Definition at line 36 of file gpu_drawlist.cc.
References blender::gpu::DrawList::submit(), and blender::gpu::unwrap().
Referenced by draw_call_batching_flush(), and draw_indirect_call().