Class SwapChainResizingEventArgs
Event arguments for the SwapChainResizing event.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public class SwapChainResizingEventArgs : EventArgs
Constructors
| Edit this page View SourceSwapChainResizingEventArgs(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 SourceNewSize
Property to return the new size of the swap chain backbuffers.
Declaration
public Size2 NewSize { get; }
Property Value
Type | Description |
---|---|
Size2 |
OldSize
Property to return the old size of the swap chain backbuffers.
Declaration
public Size2 OldSize { get; }
Property Value
Type | Description |
---|---|
Size2 |