MCPcopy Create free account
hub / github.com/Tencent/tgfx / PixelRef

Method PixelRef

src/core/PixelRef.cpp:34–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34PixelRef::PixelRef(std::shared_ptr<PixelBuffer> pixelBuffer) : pixelBuffer(std::move(pixelBuffer)) {
35}
36
37void* PixelRef::lockWritablePixels() {
38 auto pixels = pixelBuffer->lockPixels();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected