MCPcopy Create free account
hub / github.com/OGRECave/ogre / window_create

Function window_create

Components/Python/HighPy.py:155–167  ·  view source on GitHub ↗

! create a window @param window_name: name of the window @param window_size: size of the window in pixels @param flags: window create options

(window_name: str, window_size, flags: int = AXES_ZBACKWARD_YUP)

Source from the content-addressed store, hash-verified

153user_resource_locations = set()
154
155def window_create(window_name: str, window_size, flags: int = AXES_ZBACKWARD_YUP):
156 """!
157 create a window
158 @param window_name: name of the window
159 @param window_size: size of the window in pixels
160 @param flags: window create options
161 """
162 if _ctx is None:
163 _init_ogre(window_name, window_size)
164 else:
165 _ctx.createWindow(window_name, *window_size)
166
167 _init_window(_ctx.windows[window_name], flags)
168
169def window_draw(window_name: str) -> int:
170 """!

Callers

nothing calls this directly

Calls 3

_init_ogreFunction · 0.85
_init_windowFunction · 0.85
createWindowMethod · 0.45

Tested by

no test coverage detected