]> git.tdb.fi Git - libs/gl.git/commit
Add a collection parameter to RenderPass::set_material
authorMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 15:50:19 +0000 (17:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 21 Mar 2021 15:52:34 +0000 (17:52 +0200)
commit4c856cc3c0425fef1d123fe846ab19fbb10ab6c6
treef080d06c26c61ad5fd9d612c7bff6abfba4db053
parent68b74ce23dd20822b07d79dc25aa0a0a19ef27a5
Add a collection parameter to RenderPass::set_material

If the pass did not already have a shader, it will try to create one from
the material and fail if it has no collection.
source/materials/renderpass.cpp
source/materials/renderpass.h