Blender Git Commit Log

Git Commits -> Revision 34566aa

Revision 34566aa by Campbell Barton (master)
June 29, 2017, 10:09 (GMT)
Gawain: add method of stepping over data directly

This avoids using GWN_vertbuf_attr_set which needs to calculate the
offset and perform a memcpy every call.

Exposing the data directly allows us to avoid a memcpy in some cases
and means we can write to the vertex buffer's memory directly.

Commit Details:

Full Hash: 34566aa96910e29eceb45d29c9d50471452f8d73
Parent Commit: 2343dcf
Lines Changed: +52, -0

3 Modified Paths:

/intern/gawain/gawain/common.h (+7, -0) (Diff)
/intern/gawain/gawain/vertex_buffer.h (+25, -0) (Diff)
/intern/gawain/src/vertex_buffer.c (+20, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021