Gorgon
Show / Hide Table of Contents

Class SwapChainResizedEventArgs

Event arguments for the SwapChainResized event.

Inheritance
object
EventArgs
SwapChainResizedEventArgs
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 SwapChainResizedEventArgs : EventArgs

Constructors

| Edit this page View Source

SwapChainResizedEventArgs(Size2, Size2)

Initializes a new instance of the SwapChainResizingEventArgs class.

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

The new size.

Size2 oldSize

The old size.

Properties

| Edit this page View Source

OldSize

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

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

Size

Property to return the size of the swap chain backbuffers.

Declaration
public Size2 Size { 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