forked from Dynamitos/Seele
Trying to add fluid simulation
This commit is contained in:
1 parent
056589a6f9
commit
ac317a3829
65 files changed
+2708
-371
No files matched your search
@@ -68,6 +68,10 @@ class DescriptorSet : public Gfx::DescriptorSet {
|
||||
public:
|
||||
DescriptorSet(PGraphics graphics, PDescriptorPool owner, PDescriptorSetHandle setHandle);
|
||||
virtual ~DescriptorSet();
|
||||
DescriptorSet(const DescriptorSet&) = delete;
|
||||
DescriptorSet(DescriptorSet&&) noexcept;
|
||||
DescriptorSet& operator=(const DescriptorSet&) = delete;
|
||||
DescriptorSet& operator=(DescriptorSet&&) noexcept;
|
||||
virtual void writeChanges() override;
|
||||
virtual void updateConstants(const std::string& name, uint32 offset, const void* data) override;
|
||||
virtual void updateBuffer(const std::string& name, uint32 index, Gfx::PShaderBuffer shaderBuffer) override;
|
||||
@@ -91,7 +95,7 @@ class DescriptorSet : public Gfx::DescriptorSet {
|
||||
// would not work anyways, so casts should be safe
|
||||
// Array<void*> cachedData;
|
||||
Array<Array<PCommandBoundResource>> boundResources;
|
||||
PDescriptorSetHandle setHandle;
|
||||
PDescriptorSetHandle setHandle = nullptr;
|
||||
PGraphics graphics;
|
||||
PDescriptorPool owner;
|
||||
friend class DescriptorPool;
|
||||
|
||||
Reference in new issue
Block a user