Skip to content

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
);

Parameters

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.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally