Class WindowFramebufferResizeEventArgs
This event is triggered when a window has its framebuffer change size. This event can occur for different reasons, not only the window changing size.
Inherited Members
Namespace: OpenTK.Core.Platform
Assembly: OpenTK.Core.dll
Syntax
public class WindowFramebufferResizeEventArgs : WindowEventArgs
Constructors
WindowFramebufferResizeEventArgs(WindowHandle, Vector2i)
Initializes a new instance of the WindowFramebufferResizeEventArgs class.
Declaration
public WindowFramebufferResizeEventArgs(WindowHandle window, Vector2i newFramebufferSize)
Parameters
Type | Name | Description |
---|---|---|
WindowHandle | window | The window whoes framebuffer changed size. |
Vector2i | newFramebufferSize | The new framebuffer size. |
Properties
NewFramebufferSize
The new framebuffer size of the window.
Declaration
public Vector2i NewFramebufferSize { get; }
Property Value
Type | Description |
---|---|
Vector2i |