LiteFX::Rendering::IMappable::map¶
Maps the memory blocks within data to the internal memory of an array.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual void map(
Span<void const const*> data,
size_t elementSize,
UInt32 firstElement = 0) = 0;
Parameters¶
| Name | Description |
|---|---|
| data | The data blocks to map. |
| elementSize | The size of each data block within data. |
| firstElement | The first element of the array to map. |