Show / Hide Table of Contents

Struct FramebufferResizeEventArgs

Defines the event data for the framebuffer resize event.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct FramebufferResizeEventArgs

Constructors

FramebufferResizeEventArgs(Vector2i)

Initializes a new instance of the FramebufferResizeEventArgs struct.

Declaration
public FramebufferResizeEventArgs(Vector2i size)
Parameters
Type Name Description
Vector2i size

the new framebuffer size.

FramebufferResizeEventArgs(int, int)

Initializes a new instance of the FramebufferResizeEventArgs struct.

Declaration
public FramebufferResizeEventArgs(int width, int height)
Parameters
Type Name Description
int width

The new framebuffer width.

int height

The new framebuffer height.

Properties

Height

Gets the new framebuffer height.

Declaration
public int Height { get; }
Property Value
Type Description
int

Size

Gets the new framebuffer size.

Declaration
public Vector2i Size { get; }
Property Value
Type Description
Vector2i

Width

Gets the new framebuffer width.

Declaration
public int Width { get; }
Property Value
Type Description
int
In This Article
Back to top Generated by DocFX