mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 11:23:51 +00:00
17 lines
350 B
C++
17 lines
350 B
C++
|
#include "MaterialInstancePass.hpp"
|
||
|
|
||
|
namespace sh
|
||
|
{
|
||
|
|
||
|
MaterialInstanceTextureUnit* MaterialInstancePass::createTextureUnit (const std::string& name)
|
||
|
{
|
||
|
mTexUnits.push_back(MaterialInstanceTextureUnit(name));
|
||
|
return &mTexUnits.back();
|
||
|
}
|
||
|
|
||
|
std::vector <MaterialInstanceTextureUnit> MaterialInstancePass::getTexUnits ()
|
||
|
{
|
||
|
return mTexUnits;
|
||
|
}
|
||
|
}
|