Blender Git Commit Log

Git Commits -> Revision 4aadf73

Revision 4aadf73 by Mike Erwin (master)
August 10, 2016, 22:01 (GMT)
Gawain: tweak immediate mode API

Should be simpler to use now.

Made vertex format structure private. New immVertexFormat() function
clears and returns the format. Devs can start with add_attrib(format...)
and not have to clear it first.

immBindProgram automatically packs the vertex format if needed.

Updated 3D cursor drawing to use new API.

Commit Details:

Full Hash: 4aadf7331e108e7257af07d01384ce67de5e0391
Parent Commit: f537d96
Lines Changed: +40, -29

3 Modified Paths:

/source/blender/editors/space_view3d/view3d_draw.c (+5, -7) (Diff)
/source/blender/gpu/GPU_immediate.h (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_immediate.c (+32, -21) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021