]> git.tdb.fi Git - libs/gl.git/commit
Add a Texturing class to encapsulate the state of multiple texturing units
authorMikko Rasa <tdb@tdb.fi>
Thu, 15 Jul 2010 12:11:59 +0000 (12:11 +0000)
committerMikko Rasa <tdb@tdb.fi>
Thu, 15 Jul 2010 12:11:59 +0000 (12:11 +0000)
commitabc16c5ab0fff0945d724febe9d5d3889fb8a6ce
tree4214cfc8cdeebf78d88c59da750baee65a4d2915
parent6a4907898281b738111e0c6527cc46f8810dc123
Add a Texturing class to encapsulate the state of multiple texturing units
Make TexEnv::bind const
Propagate changes to GL when changing the currently bound TexEnv
Restore default TexEnv state on unbind
Take GL version into account in TexUnit::get_n_units
source/texenv.cpp
source/texenv.h
source/texturing.cpp [new file with mode: 0644]
source/texturing.h [new file with mode: 0644]
source/texunit.cpp