> home > Custom Layer Boundary API

global_get_screen_rectangle

January 19th 2020
Get the rectangle the represents the renderable region in pixels

Signature

C++
Rect_f32
global_get_screen_rectangle(Application_Links* app);

Parameters

app

the standard custom layer context pointer

Return

an f32 rectangle based as (0, 0) that represents the entire renderable region in pixels