LiteFX 0.3.1.2022
Computer Graphics Engine
|
Allows for data to be mapped into the object. More...
#include <rendering_api.hpp>
Inherited by LiteFX::Rendering::IBuffer [virtual]
.
Public Member Functions | |
virtual | ~IMappable () noexcept=default |
virtual void | map (const void *const data, const size_t &size, const UInt32 &element=0)=0 |
Maps the memory at data to the internal memory of this object. More... | |
virtual void | map (Span< const void *const > data, const size_t &elementSize, const UInt32 &firstElement=0)=0 |
Maps the memory blocks within data to the internal memory of an array. More... | |
Allows for data to be mapped into the object.
|
virtualdefaultnoexcept |
|
pure virtual |
Maps the memory at data to the internal memory of this object.
data | The address that marks the beginning of the data to map. |
size | The number of bytes to map. |
element | The array element to map the data to. |
Implemented in LiteFX::Rendering::Backends::DirectX12Buffer, and LiteFX::Rendering::Backends::VulkanBuffer.
|
pure virtual |
Maps the memory blocks within data to the internal memory of an array.
data | The data blocks to map. |
size | The size of each data block within data . |
firsElement | The first element of the array to map. |
Implemented in LiteFX::Rendering::Backends::DirectX12Buffer, and LiteFX::Rendering::Backends::VulkanBuffer.