diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-01-15 15:44:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-15 16:16:54 +0300 |
commit | 5cb43b0f2037c903c635609c75ebf0c3a23ad146 (patch) | |
tree | cf1c8c05878308cd4c790f4936fe89f5cdda84df /source/blender/gpu/intern/gpu_batch.c | |
parent | ec3248437dc52c641a914fd1245f778ac45f3a26 (diff) |
Cleanup: update comments
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_batch.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c index c74f367c447..deee84e92cb 100644 --- a/source/blender/gpu/intern/gpu_batch.c +++ b/source/blender/gpu/intern/gpu_batch.c @@ -57,6 +57,11 @@ void GWN_batch_program_set_builtin(Gwn_Batch *batch, GPUBuiltinShader shader_id) /** \name Batch Creation * \{ */ +/** + * Creates triangles from a byte-array of polygons. + * + * See 'make_shape_2d_from_blend.py' utility to create data to pass to this function. + */ Gwn_Batch *GPU_batch_from_poly_2d_encoded( const uchar *polys_flat, uint polys_flat_len, float min, float max) { |