Function in ldk.h

ldk_engine_render_resolution_set

Set the internal resolution used for game rendering.

LDK_API bool ldk_engine_render_resolution_set(
 i32 width,
 i32 height
);

Parameters

i32 width
Width in pixels or the units expected by the API.
i32 height
Height in pixels or the units expected by the API.

Returns

True if the operation succeeds; false otherwise.