ASE: Add Material constructor which takes material name
parent
d49996d8a6
commit
60d78f1701
|
@ -74,6 +74,14 @@ struct Material : public D3DS::Material
|
|||
{}
|
||||
|
||||
|
||||
//! Constructor with explicit name
|
||||
explicit Material(const std::string &name)
|
||||
: D3DS::Material(name)
|
||||
, pcInstance(NULL)
|
||||
, bNeed (false)
|
||||
{}
|
||||
|
||||
|
||||
Material(const Material &other) = default;
|
||||
Material(Material &&other) = default;
|
||||
|
||||
|
|
Loading…
Reference in New Issue