1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 19:49:54 +00:00
openmw-tes3mp/extern/shiny/Main/MaterialInstancePass.hpp

29 lines
593 B
C++

#ifndef SH_MATERIALINSTANCEPASS_H
#define SH_MATERIALINSTANCEPASS_H
#include <vector>
#include "PropertyBase.hpp"
#include "MaterialInstanceTextureUnit.hpp"
namespace sh
{
/**
* @brief
* Holds properties of a single texture unit in a \a MaterialInstancePass. \n
* No inheritance here for now.
*/
class MaterialInstancePass : public PropertySetGet
{
public:
MaterialInstanceTextureUnit* createTextureUnit (const std::string& name);
void save (std::ofstream& stream);
PropertySetGet mShaderProperties;
std::vector <MaterialInstanceTextureUnit> mTexUnits;
};
}
#endif