Definition Resource.hpp:146
Deferred upload context for transferring data to GPU resources.
Definition UploadContext.hpp:27
Vector< RHICommandPoolScopedHandle< RHICommandList > > mCommandLists
Definition UploadContext.hpp:33
StagingBuffer mStagingBuffer
Definition UploadContext.hpp:35
RHIDeviceQueue * mQueue
Definition UploadContext.hpp:31
RHIDevice * mDevice
Definition UploadContext.hpp:28
Async::Mutex mMutex
Definition UploadContext.hpp:37
RHIDeviceScopedObjectHandle< RHICommandPool > mCommandPool
Definition UploadContext.hpp:32
Allocator * mAllocator
Definition UploadContext.hpp:29
~UploadContext()
Definition UploadContext.cpp:91
void SubmitAndWait()
Definition UploadContext.cpp:73
RHIDeviceScopedObjectHandle< RHIDeviceFence > mFence
Definition UploadContext.hpp:34
std::unique_ptr< T, StlDeleter< T > > UniquePtr
std::unique_ptr with custom deleter that uses a Foundation::Core::Allocator to deallocate memory.
Definition Allocator.hpp:161
Definition Resource.hpp:100