Skip to content

LiteFX::Rendering::IMappable::map

map overloads

Synopses

Declared in <litefx/rendering_api.hpp>

Maps the memory blocks within data to the internal memory of an array.

[[dllimport, dllexport]] virtual void map(
    Span<void const const*> data,
    size_t elementSize,
    UInt32 firstElement = 0) = 0;

» more...

Maps the memory at data to the internal memory of this object.

[[dllimport, dllexport]] virtual void map(
    void const const* data,
    size_t size,
    UInt32 element = 0) = 0;

» more...

Maps the memory blocks within data to the internal memory of an array.

[[dllimport, dllexport]] virtual void map(
    Span<void*> data,
    size_t elementSize,
    UInt32 firstElement = 0,
    bool write = true) = 0;

» more...

Maps the memory at data to the internal memory of this object.

[[dllimport, dllexport]] virtual void map(
    void* data,
    size_t size,
    UInt32 element = 0,
    bool write = true) = 0;

» more...

Parameters

NameDescription
dataThe data blocks to map.
elementSizeThe size of each data block within data.
firstElementThe first element of the array to map.
sizeThe number of bytes to map.
elementThe array element to map the data to.
writeIf true, data is copied into the internal memory. If false the internal memory is copied into data.