 |
SceneViewResize(Boolean) Method |
Resizes the SceneView by updating the size to the size of the
Surface.
When no Surface is used, then
Resize(Int32, Int32, Int32, Single, SurfaceTransformFlagsKHR, Boolean) must be used.
This method does not support supplying fallback dimensions for situations when the surface does not provide
size information (for example, when using Silk.NET under Wayland on Linux). Therefore,
Resize(Int32, Int32, Int32, Single, SurfaceTransformFlagsKHR, Boolean) should be used instead, with fallback
dimensions (obtained from the presentation/windowing framework) passed as the new width and height (if
fallback dimensions are unavailable, they can be set to 0).
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic bool Resize(
bool renderNextFrameAfterResize = true
)
Parameters
- renderNextFrameAfterResize Boolean (Optional)
- true (by default) to render next frame after resizing
Return Value
Booleanfalse when no resize was needed because the size was already set
Exceptions
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneView.Resize(System.Boolean)"]
See Also