MCPcopy Create free account
hub / github.com/Bzi-Han/AndroidSurfaceImgui / GetSurface

Method GetSurface

modules/ANativeWindowCreator.h:772–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770 }
771
772 Surface *GetSurface()
773 {
774 if (nullptr == data)
775 return nullptr;
776
777 auto result = ApiInvoker<"SurfaceControl::GetSurface">()(data);
778
779 return reinterpret_cast<Surface *>(reinterpret_cast<size_t>(result.pointer) + sizeof(std::max_align_t) / 2);
780 }
781
782 types::StrongPointer<void> GetParentingLayer()
783 {

Callers 1

CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected