MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ExportApplicationImage

Method ExportApplicationImage

Source/Editor/Utilities/EditorUtilities.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134bool EditorUtilities::ExportApplicationImage(const Guid& iconId, int32 width, int32 height, PixelFormat format, const String& path, ApplicationImageType type)
135{
136 TextureData icon;
137 if (GetApplicationImage(iconId, icon, type))
138 return true;
139
140 return ExportApplicationImage(icon, width, height, format, path);
141}
142
143bool EditorUtilities::ExportApplicationImage(const TextureData& icon, int32 width, int32 height, PixelFormat format, const String& path)
144{

Callers

nothing calls this directly

Calls 7

HasAlphaFunction · 0.85
SamplePointMethod · 0.80
GetFunction · 0.50
ResizeFunction · 0.50
GetDataMethod · 0.45
GetMethod · 0.45
StoreMethod · 0.45

Tested by

no test coverage detected