|
UraniumCompute 0.1.0
A GPU accelerated parallel task scheduler
|
Base interface for all compute backend objects. More...
#include <IDeviceObject.h>
Public Member Functions | |
| virtual std::string_view | GetDebugName () const =0 |
| Get debug name of the object. | |
| virtual void | Reset ()=0 |
| Reset the object to uninitialized state. More... | |
| virtual IComputeDevice * | GetDevice () const =0 |
| Get the compute device this object was created on. More... | |
Public Member Functions inherited from UN::IObject | |
| virtual UInt32 | AddRef ()=0 |
| Add a strong reference to object's reference counter. More... | |
| virtual UInt32 | Release ()=0 |
| Remove a strong reference from object's reference counter. More... | |
| virtual void | AttachRefCounter (ReferenceCounter *counter)=0 |
| Attach a ReferenceCounter to this object. More... | |
| virtual ReferenceCounter * | GetRefCounter ()=0 |
| Get reference counter that belongs to this object. More... | |
Base interface for all compute backend objects.
All objects related to a compute backend must implement deferred initialization. For example:
|
pure virtual |
Get the compute device this object was created on.
|
pure virtual |
Reset the object to uninitialized state.
Implemented in UN::VulkanBuffer, UN::VulkanCommandList, UN::VulkanDescriptorAllocator, UN::VulkanDeviceMemory, UN::VulkanFence, UN::VulkanKernel, and UN::VulkanResourceBinding.