MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / getData

Method getData

bitmap/NewBitmap.h:51–51  ·  view source on GitHub ↗

@returns raw pointer to image data

Source from the content-addressed store, hash-verified

49
50 /// @returns raw pointer to image data
51 [[nodiscard]] uint8_t *getData() const { return _data.get(); }
52
53 /// @returns number of components for the bitmap format (i.e. 4 for "RGBA")
54 [[nodiscard]] uint32_t getNumComponents() const;

Callers 2

rend_ScreenshotFunction · 0.80
DoScreenshotFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected