1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 16:53:54 +00:00
openmw/extern/shiny/Main/MaterialInstancePass.cpp
2012-11-06 19:09:44 +01:00

16 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;
}
}