Nameless Engine
Loading...
Searching...
No Matches
ShaderCpuWriteResourceBindingUniquePtr.h
1#pragma once
2
3namespace ne {
4 class ShaderCpuWriteResourceBindingManager;
5 class ShaderCpuWriteResourceBinding;
6
15 // Only manager can create objects of this class.
17
18 public:
20
23 operator=(const ShaderCpuWriteResourceBindingUniquePtr&) = delete;
24
26
33
42 operator=(ShaderCpuWriteResourceBindingUniquePtr&& other) noexcept;
43
48 void markAsNeedsUpdate();
49
56
57 private:
66
69
72 };
73} // namespace ne
Definition: ShaderCpuWriteResourceBindingManager.h:21
Definition: ShaderCpuWriteResourceBindingUniquePtr.h:14
ShaderCpuWriteResourceBinding * pResource
Definition: ShaderCpuWriteResourceBindingUniquePtr.h:71
ShaderCpuWriteResourceBindingManager * pManager
Definition: ShaderCpuWriteResourceBindingUniquePtr.h:68
ShaderCpuWriteResourceBinding * getResource() const
Definition: ShaderCpuWriteResourceBindingUniquePtr.h:55
void markAsNeedsUpdate()
Definition: ShaderCpuWriteResourceBindingUniquePtr.cpp:46
Definition: ShaderCpuWriteResourceBinding.h:25