Gorgon
Show / Hide Table of Contents

Class SwapChainResizingEventArgs

Event arguments for the SwapChainResizing event.

Inheritance
object
EventArgs
SwapChainResizingEventArgs
Inherited Members
EventArgs.Empty
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class SwapChainResizingEventArgs : EventArgs

Constructors

| Edit this page View Source

SwapChainResizingEventArgs(Size2, Size2)

Initializes a new instance of the SwapChainResizingEventArgs class.

Declaration
public SwapChainResizingEventArgs(Size2 oldSize, Size2 newSize)
Parameters
Type Name Description
Size2 oldSize

The old size.

Size2 newSize

The new size.

Properties

| Edit this page View Source

NewSize

Property to return the new size of the swap chain backbuffers.

Declaration
public Size2 NewSize { get; }
Property Value
Type Description
Size2
| Edit this page View Source

OldSize

Property to return the old size of the swap chain backbuffers.

Declaration
public Size2 OldSize { get; }
Property Value
Type Description
Size2

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author