Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries

This commit is contained in:
Wojciech Figat
2022-12-14 16:16:02 +01:00
parent c38eda5799
commit 713aa3e0f9
4 changed files with 40 additions and 9 deletions

View File

@@ -198,6 +198,8 @@ public:
void CopyCounter(GPUBuffer* dstBuffer, uint32 dstOffset, GPUBuffer* srcBuffer) override;
void CopyResource(GPUResource* dstResource, GPUResource* srcResource) override;
void CopySubresource(GPUResource* dstResource, uint32 dstSubresource, GPUResource* srcResource, uint32 srcSubresource) override;
void SetResourceState(GPUResource* resource, uint64 state, int32 subresource) override;
void ForceRebindDescriptors() override;
};
#endif