diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-02-09 19:26:13 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-02-11 22:36:20 +0300 |
commit | fc0797142d0c94342832bbead9db40e3e6ca9186 (patch) | |
tree | c4f608e0f6739b9e1227093caed8bc3dba00db37 /source/blender/gpu/gawain/batch.h | |
parent | c5f2380be715916c17d86c7b34e49c5ac0cad792 (diff) |
Clay Engine: Refactoring of the dynamic batches
Support more attribs for interesting instancing
Diffstat (limited to 'source/blender/gpu/gawain/batch.h')
-rw-r--r-- | source/blender/gpu/gawain/batch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/gawain/batch.h b/source/blender/gpu/gawain/batch.h index 763c4c1c495..660ed9eb762 100644 --- a/source/blender/gpu/gawain/batch.h +++ b/source/blender/gpu/gawain/batch.h @@ -61,8 +61,9 @@ void Batch_draw(Batch*); // clement : temp stuff -void Batch_draw_stupid(Batch* batch); -void Batch_draw_stupid_instanced(Batch* batch, unsigned int instance_vbo, int instance_count); +void Batch_draw_stupid(Batch*); +void Batch_draw_stupid_instanced(Batch*, unsigned int instance_vbo, int instance_count, + int attrib_nbr, int attrib_stride, int attrib_loc[16], int attrib_size[16]); |