|
UraniumCompute 0.1.0
A GPU accelerated parallel task scheduler
|
An interface for command lists that record commands to be executed by the backend. More...
#include <ICommandList.h>
Public Types | |
| using | DescriptorType = CommandListDesc |
Public Member Functions | |
| virtual const DescriptorType & | GetDesc () const =0 |
| virtual ResultCode | Init (const DescriptorType &desc)=0 |
| virtual IFence * | GetFence ()=0 |
| Get the fence that is signaled after submit operation is complete. More... | |
| virtual CommandListState | GetState ()=0 |
| Get command list state. More... | |
| virtual CommandListBuilder | Begin ()=0 |
| Set the command list state to CommandListState::Recording. More... | |
| virtual void | ResetState ()=0 |
| Set the command list state to CommandListState::Initial. More... | |
| virtual ResultCode | Submit ()=0 |
| Submit the command list and set the state to CommandListState::Pending. More... | |
Public Member Functions inherited from UN::IDeviceObject | |
| 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... | |
Protected Member Functions | |
| virtual void | End ()=0 |
| virtual void | CmdMemoryBarrier (IBuffer *pBuffer, const MemoryBarrierDesc &barrierDesc)=0 |
| virtual void | CmdCopy (IBuffer *pSource, IBuffer *pDestination, const BufferCopyRegion ®ion)=0 |
| virtual void | CmdDispatch (IKernel *pKernel, Int32 x, Int32 y, Int32 z)=0 |
Friends | |
| class | CommandListBuilder |
An interface for command lists that record commands to be executed by the backend.
|
pure virtual |
Set the command list state to CommandListState::Recording.
Implemented in UN::CommandListBase.
|
pure virtual |
Get the fence that is signaled after submit operation is complete.
Implemented in UN::CommandListBase.
|
pure virtual |
Get command list state.
Implemented in UN::VulkanCommandList.
|
pure virtual |
Set the command list state to CommandListState::Initial.
Implemented in UN::CommandListBase.
|
pure virtual |
Submit the command list and set the state to CommandListState::Pending.
Implemented in UN::CommandListBase.