Information for creating an environment. More...
#include <arcane/materials/MeshEnvironmentBuildInfo.h>
Classes | |
| class | MatInfo |
Public Member Functions | |
| MeshEnvironmentBuildInfo (const String &name) | |
| const String & | name () const |
| Name of the environment. | |
| void | addMaterial (const String &name) |
| Adds the material named name to the environment. | |
| ConstArrayView< MatInfo > | materials () const |
Information for creating an environment.
This instance contains the necessary information to create an environment. Once the information is specified, the environment must be created via IMeshMaterialMng::createEnvironment().
For now, the only relevant information about an environment is its name and the list of materials composing it.
Definition at line 41 of file MeshEnvironmentBuildInfo.h.
| Arcane::Materials::MeshEnvironmentBuildInfo::MeshEnvironmentBuildInfo | ( | const String & | name | ) |
Definition at line 28 of file MeshEnvironmentBuildInfo.cc.
| Arcane::Materials::MeshEnvironmentBuildInfo::~MeshEnvironmentBuildInfo | ( | ) |
Definition at line 37 of file MeshEnvironmentBuildInfo.cc.
| void Arcane::Materials::MeshEnvironmentBuildInfo::addMaterial | ( | const String & | name | ) |
Adds the material named name to the environment.
The material must already have been registered via IMeshMaterialMng::registerMaterialInfo().
Definition at line 45 of file MeshEnvironmentBuildInfo.cc.
References name().
|
inline |
Definition at line 88 of file MeshEnvironmentBuildInfo.h.
|
inline |
Name of the environment.
Definition at line 72 of file MeshEnvironmentBuildInfo.h.
Referenced by addMaterial().