MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Image LoadImageFromMemory

Method Image LoadImageFromMemory

include/Functions.hpp:230–233  ·  view source on GitHub ↗

* Load image from memory buffer, fileType refers to extension like "png" */

Source from the content-addressed store, hash-verified

228 * Load image from memory buffer, fileType refers to extension like "png"
229 */
230RLCPP_MAYBEUNUSED RLCPPAPI inline ::Image
231LoadImageFromMemory(const std::string& fileType, const unsigned char* fileData, int dataSize) {
232 return ::LoadImageFromMemory(fileType.c_str(), fileData, dataSize);
233}
234
235/**
236 * Export image data to file

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected