Blender Git Loki

Git Commits -> Revision 7c0f925

Revision 7c0f925 by Campbell Barton (master)
January 21, 2019, 23:38 (GMT)
DRW: Add DRW_shader_create_from_arrays utility

While verbose, this is a more flexible way to construct shaders.

Libs & defines can be optionally included for each shader type
which was previously done with inline string creation.

Commit Details:

Full Hash: 7c0f925c593808c00042d65f2a3f6a6c2dbe4fce
Parent Commit: 8beab3e
Lines Changed: +71, -0

2 Modified Paths:

/source/blender/draw/intern/draw_manager_shader.c (+66, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021