]> git.tdb.fi Git - libs/gl.git/commit
Change Texturing to store index-texture pairs
authorMikko Rasa <tdb@tdb.fi>
Mon, 25 May 2020 15:17:28 +0000 (18:17 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 25 May 2020 15:17:28 +0000 (18:17 +0300)
commitb856ccc893a102536048e8d67a6577a31ebdf166
treefd2801958911423eadc11197e1e37f5dfa1d375d
parent47431fab6676ce5c4cd1ba994da73b1edac2d3e4
Change Texturing to store index-texture pairs

Modern GPUs have a large number of texture binding points so storing
texture pointers for all of them is inefficient.
source/texturing.cpp
source/texturing.h