aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/src/dx/DxSolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/src/dx/DxSolver.h')
-rw-r--r--NvCloth/src/dx/DxSolver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/NvCloth/src/dx/DxSolver.h b/NvCloth/src/dx/DxSolver.h
index 09f523a..07d77dc 100644
--- a/NvCloth/src/dx/DxSolver.h
+++ b/NvCloth/src/dx/DxSolver.h
@@ -56,6 +56,7 @@ class DxSolver : private DxContextLock, public Solver
~DxSolver();
virtual void addCloth(Cloth*) override;
+ virtual void addCloths(Range<Cloth*> cloths) override;
virtual void removeCloth(Cloth*) override;
virtual int getNumCloths() const override;
virtual Cloth * const * getClothList() const override;
@@ -101,6 +102,10 @@ class DxSolver : private DxContextLock, public Solver
}
private:
+ // add cloth helper functions
+ void addClothAppend(Cloth* cloth);
+ void addClothUpdateData();
+
// simulate helper functions
void beginFrame();
void executeKernel();