-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_WindowDrawQuad
chrisd1100 edited this page Apr 9, 2023
·
2 revisions
Draw a quad with a raw image and MTY_RenderDesc
.
void MTY_WindowDrawQuad(
MTY_App * app,
MTY_Window window,
const void * image,
const MTY_RenderDesc * desc
);
app
(MTY_App *
)
The MTY_App
.
window
(MTY_Window
)
An MTY_Window
.
image
(const void *
)
The raw image.
desc
(const MTY_RenderDesc *
)
Description of the raw image and how it should be rendered. The viewWidth
and viewHeight
members of this structure are ignored.