]> git.tdb.fi Git - libs/gl.git/commit
Move blend state from Sequence::Step to RenderMethod
authorMikko Rasa <tdb@tdb.fi>
Sat, 16 Oct 2021 08:49:11 +0000 (11:49 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 16 Oct 2021 16:03:00 +0000 (19:03 +0300)
commit18fda5b5a13215c500cb402f7d2b081e439a1f0e
treea6e32006a1262f8afca9cc0ff5b1d57fbfc3bbb2
parent2680cc0bf251db566753dbe9bf947ba6a4b083d2
Move blend state from Sequence::Step to RenderMethod

Even though all blended objects are typically rendered in a single step,
it may be desirable to use different blend modes for different objects.
source/builders/sequencebuilder.cpp
source/builders/sequencetemplate.cpp
source/builders/sequencetemplate.h
source/materials/rendermethod.cpp
source/materials/rendermethod.h
source/render/sequence.cpp
source/render/sequence.h
tools/viewer.cpp