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