makeDisplayRegion

i want to know about makeDisplayRegion method because i want to create
a new DisplayRegion that covers the entire window

i couldn’t read manual makeDisplayRegion issue clearly. help me , please

please show me an example code using that method.

the result i expect to be look like the picture below

thank you :confused:

Here is an example :
discourse.panda3d.org/viewtopic.php?t=2794