Interface IGorgonSwapChainInfo
Settings for defining the set up for a swap chain.
Inherited Members
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public interface IGorgonSwapChainInfo : IGorgonNamedObject
Remarks
This provides an immutable view of the swap chain information so that it cannot be modified after the buffer is created.
Properties
| Edit this page View SourceFormat
Property to return the format of the swap chain back buffer.
Declaration
BufferFormat Format { get; }
Property Value
Type | Description |
---|---|
BufferFormat |
Remarks
The default value is R8G8B8A8_UNorm
Height
Property to return the height of the swap chain back buffer.
Declaration
int Height { get; }
Property Value
Type | Description |
---|---|
int |
StretchBackBuffer
Property to return whether the back buffer contents will be stretched to fit the size of the presentation target area (typically the client area of the window).
Declaration
bool StretchBackBuffer { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
The default value for this value is true.
Width
Property to return the width of the swap chain back buffer.
Declaration
int Width { get; }
Property Value
Type | Description |
---|---|
int |