MCPcopy Create free account
hub / github.com/arrayfire/forge / FI_BitmapResource

Class FI_BitmapResource

src/backend/opengl/window_impl.cpp:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57class FI_BitmapResource
58{
59public:
60 explicit FI_BitmapResource(FIBITMAP * p) :
61 pBitmap(p)
62 {
63 }
64
65 ~FI_BitmapResource()
66 {
67 FreeImage_Unload(pBitmap);
68 }
69private:
70 FIBITMAP * pBitmap;
71};
72#endif //USE_FREEIMAGE
73
74/* following function is thread safe */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected