Skip to content

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

NameDescription
dataThe data blocks to map.
elementSizeThe size of each data block within data.
firstElementThe first element of the array to map.