pushPreferredCanvasFormat abstract method

int pushPreferredCanvasFormat()

Pushes the platform's preferred canvas color format (a string like "bgra8unorm" or "rgba8unorm") onto the Lua stack. Always returns 1.

Implementation

int pushPreferredCanvasFormat();