![]() |
Lysa
0.0
Lysa 3D Engine
|
Inheritance diagram for DeviceMemoryArray:Public Member Functions | |
| DeviceMemoryArray (const vireo::Vireo &vireo, size_t instanceSize, size_t instanceCount, size_t stagingInstanceCount, vireo::BufferType, const std::string &name) | |
| void | write (const MemoryBlock &destination, const void *source) override |
| void | flush (const vireo::CommandList &commandList) |
| void | postBarrier (const vireo::CommandList &commandList) const |
| void | cleanup () override |
| ~DeviceMemoryArray () override | |
Public Member Functions inherited from MemoryArray | |
| MemoryBlock | alloc (size_t instanceCount) |
| void | free (const MemoryBlock &bloc) |
| void | copyTo (const vireo::CommandList &commandList, const MemoryArray &destination) |
| auto | getBuffer () const |
| virtual | ~MemoryArray () |
| MemoryArray (MemoryArray &) = delete | |
| MemoryArray & | operator= (MemoryArray &) = delete |
Additional Inherited Members | |
Protected Member Functions inherited from MemoryArray | |
| MemoryArray (const vireo::Vireo &vireo, size_t instanceSize, size_t instanceCount, vireo::BufferType bufferType, const std::string &name) | |
Protected Attributes inherited from MemoryArray | |
| const std::string | name |
| const size_t | instanceSize |
| std::shared_ptr< vireo::Buffer > | buffer |
| std::list< MemoryBlock > | freeBlocs |
| std::mutex | mutex |
| DeviceMemoryArray | ( | const vireo::Vireo & | vireo, |
| size_t | instanceSize, | ||
| size_t | instanceCount, | ||
| size_t | stagingInstanceCount, | ||
| vireo::BufferType | , | ||
| const std::string & | name | ||
| ) |
|
override |
|
overridevirtual |
Reimplemented from lysa::MemoryArray::cleanup()
| void flush | ( | const vireo::CommandList & | commandList | ) |
| void postBarrier | ( | const vireo::CommandList & | commandList | ) | const |
|
overridevirtual |
Implements lysa::MemoryArray::write()