Skip to content

LiteFX::Rendering::IMappable::read

Writes a span of memory in data into the internal memory of this object, starting at offset.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void read(
    void* data,
    size_t size,
    size_t offset = 0) = 0;

Parameters

NameDescription
dataThe span of bytes containing the data to write.
sizeThe size of the memory block at data.
offsetThe offset at which to start writing.