mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 22:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			350 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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;
 | |
| 	}
 | |
| }
 |