Skip to content

LiteFX::Rendering::IMappable::map

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

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Parameters

NameDescription
dataThe address that marks the beginning of the data to map.
sizeThe number of bytes to map.
elementThe array element to map the data to.