You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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;
|
|
}
|
|
}
|