diff options
author | David Thompson <dthompson2@worcester.edu> | 2018-10-25 08:44:48 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2018-10-25 08:44:48 -0400 |
commit | 047a5f585c2fa641e139487f2790b3e09e3d4357 (patch) | |
tree | 269e12f529150e5e2f12c1f1100284f7f17cacfe /examples/lines.scm | |
parent | 49157a196366ec55cfc94c3e854db99e2d7c3d63 (diff) |
render: buffer: Add divisor field to typed buffers.
* chickadee/render/buffer.scm (<typed-buffer>)[divisor]: New field.
(typed-buffer-divisor): New procedure.
(make-typed-buffer, make-streaming-typed-buffer): Add #:divisor argument.
(apply-typed-buffer): Setup vertex attribute divisor if there is one.
Diffstat (limited to 'examples/lines.scm')
0 files changed, 0 insertions, 0 deletions