RemoveMeshCommand is used to remove meshes.
More...
#include <RemoveMeshCommand.h>
RemoveMeshCommand is used to remove meshes.
◆ RemoveMeshCommand() [1/5]
dnac::RemoveMeshCommand::RemoveMeshCommand |
( |
MemoryResource * |
memRes = nullptr | ) |
|
|
explicit |
40 :
pImpl{makeScoped<Impl>(memRes)} {
41}
ScopedPtr< Impl > pImpl
Definition: RemoveMeshCommand.h:50
◆ RemoveMeshCommand() [2/5]
dnac::RemoveMeshCommand::RemoveMeshCommand |
( |
std::uint16_t |
meshIndex, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
43 :
44 pImpl{makeScoped<Impl>(memRes)} {
45
46 pImpl->setMeshIndex(meshIndex);
47}
References pImpl.
◆ RemoveMeshCommand() [3/5]
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setMeshIndices(meshIndices);
53}
References pImpl.
◆ ~RemoveMeshCommand()
dnac::RemoveMeshCommand::~RemoveMeshCommand |
( |
| ) |
|
|
default |
◆ RemoveMeshCommand() [4/5]
◆ RemoveMeshCommand() [5/5]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
◆ setMeshIndex()
void dnac::RemoveMeshCommand::setMeshIndex |
( |
std::uint16_t |
meshIndex | ) |
|
Method for setting the index of the mesh to remove.
- Parameters
-
meshIndex | The index of the mesh. |
59 {
60 pImpl->setMeshIndex(meshIndex);
61}
References pImpl.
◆ setMeshIndices()
void dnac::RemoveMeshCommand::setMeshIndices |
( |
ConstArrayView< std::uint16_t > |
meshIndices | ) |
|
Method for setting the indices of meshes to remove.
- Parameters
-
meshIndices | The mesh indices. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set mesh(es) will be removed.
63 {
64 pImpl->setMeshIndices(meshIndices);
65}
References pImpl.
◆ pImpl
The documentation for this class was generated from the following files: