]> git.tdb.fi Git - libs/gl.git/commit
Rearrange material-related state management in RenderPass
authorMikko Rasa <tdb@tdb.fi>
Mon, 19 Apr 2021 08:14:51 +0000 (11:14 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 19 Apr 2021 15:02:20 +0000 (18:02 +0300)
commit04005f74fece3c33848ed9420dc0f9c431a9f0ec
treeb7b0eeb327e1b37d3c8522695f489cb75a4a5c5e
parent22fb2172d1cb59b339f29666946dee6818bb8558
Rearrange material-related state management in RenderPass

The change in texture handling allows some simplifications here since
material textures no longer need to set any uniforms.  Creation of
material shader while loading is deferred to finish() so it isn't done
needlessly.
source/materials/renderpass.cpp
source/materials/renderpass.h