|
|
@@ -1386,8 +1386,11 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_CreatePopupWindow(SDL_Window *paren
|
|
|
*
|
|
|
* These are additional supported properties with visionOS:
|
|
|
*
|
|
|
- * - `SDL_PROP_WINDOW_CREATE_CURVATURE_FLOAT`: the curvature of the window on visionOS. Curved windows have square corners and additional controls for more immersive gaming.
|
|
|
- * This can be -1 (disabled), which is the default, 0 (no curve), or set to a specific curvature radius in millimeters. A common value for a gaming monitor is 1000.
|
|
|
+ * - `SDL_PROP_WINDOW_CREATE_CURVATURE_FLOAT`: the curvature of the window on
|
|
|
+ * visionOS. Curved windows have square corners and additional controls for
|
|
|
+ * more immersive gaming. This can be -1 (disabled), which is the default, 0
|
|
|
+ * (no curve), or set to a specific curvature radius in millimeters. A
|
|
|
+ * common value for a gaming monitor is 1000.
|
|
|
*
|
|
|
* If this window is being created to be used with an SDL_Renderer, you should
|
|
|
* not add a graphics API specific property
|
|
|
@@ -1632,7 +1635,10 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowParent(SDL_Window *window)
|
|
|
*
|
|
|
* On visionOS:
|
|
|
*
|
|
|
- * - `SDL_PROP_WINDOW_CURVATURE_FLOAT`: the curvature of the window in curved mode on visionOS. This value is updated dynamically when changed via the screen ornaments. This can be 0 (no curve), or a specific curvature radius in millimeters. A common value for a gaming monitor is 1000.
|
|
|
+ * - `SDL_PROP_WINDOW_CURVATURE_FLOAT`: the curvature of the window in curved
|
|
|
+ * mode on visionOS. This value is updated dynamically when changed via the
|
|
|
+ * screen ornaments. This can be 0 (no curve), or a specific curvature
|
|
|
+ * radius in millimeters. A common value for a gaming monitor is 1000.
|
|
|
*
|
|
|
* \param window the window to query.
|
|
|
* \returns a valid property ID on success or 0 on failure; call
|