-
Notifications
You must be signed in to change notification settings - Fork 55
MTY_GetProgramIcon
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Get an application's program icon as an RGBA image.
void *MTY_GetProgramIcon(
const char * path,
uint32_t * width,
uint32_t * height
);
path
(const char *
)
Path to the application binary.
width
(uint32_t *
)
Set to the width of the returned buffer.
height
(uint32_t *
)
Set to the height of the returned buffer.
void *
The returned buffer is RGBA 8-bits per channel.
The returned buffer must be destroyed with MTY_Free
.