Simp module

get_pixel_dimensions

proceduresince 0.31.0Source

The size of the window's framebuffer in device pixels.

Example
#import "Window_Creation";

window := create_window(800, 600, "simp");
width, height := get_pixel_dimensions(window);

This one is only checked to compile, not run.

get_pixel_dimensions :: (window: Window_Type) -> (width: s32, height: s32)

Parameters

window: Window_Type

Returns

width: s32
height: s32

See also