mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-01 06:17:58 +03:00
Imported Upstream version 0.26.0
This commit is contained in:
commit
9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions
29
extern/shiny/Main/MaterialInstancePass.hpp
vendored
Normal file
29
extern/shiny/Main/MaterialInstancePass.hpp
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue