|
RavEngine
|
#include <BufferedVRAMVector.hpp>
Public Types | |
| using | index_type = decltype(sparseSet)::index_type |
| using | value_type = T |
Public Member Functions | |
| BufferedVRAMSparseSet (const std::string_view debugName) | |
| MOVE_NO_COPY (BufferedVRAMSparseSet) | |
| auto | DenseSize () const |
| template<typename ... A> | |
| void | Emplace (index_t sparse_index, A &&... args) |
| void | EraseAtSparseIndex (index_t sparseIndex) |
| const auto & | GetReverseMap () const |
| bool | HasForSparseIndex (index_type sparseIndex) const |
| const auto & | GetAtDenseIndex (index_t dense_index) |
| auto & | GetHostDenseForWriting (index_t dense_index) |
| auto & | GetSparseIndexForDense (index_t index) |
| auto & | GetForSparseIndexForWriting (index_t sparse_index) |
| void | EncodeSync (RGLDevicePtr device, RGLCommandBufferPtr commandBuffer, const Function< void(RGLBufferPtr)> &gcBuffersFn, bool &previousCommandResetCB) |
Public Member Functions inherited from RavEngine::BufferedVRAMStructureBase | |
| auto | GetPrivateBuffer () const |
| BufferedVRAMStructureBase (const std::string_view debugName) | |
| MOVE_NO_COPY (BufferedVRAMStructureBase) | |
Additional Inherited Members | |
Protected Member Functions inherited from RavEngine::BufferedVRAMStructureBase | |
| void | EncodeSync (RGLDevicePtr device, RGLBufferPtr hostBuffer, RGLCommandBufferPtr commandBuffer, uint32_t elemSize, const Function< void(RGLBufferPtr)> &gcBuffersFn, bool &previousCommandResetCB) |
| void | InitializePrivateBuffer (RGLDevicePtr device, uint32_t size) |
Protected Attributes inherited from RavEngine::BufferedVRAMStructureBase | |
| RGLBufferPtr | privateBuffer |
| std::string | debugName |
| std::vector< unsigned char > | syncTrackingBuffer |
The private buffer mirrors the Dense set.
|
inline |
Encodes commands to sync the host buffer with the private buffer.