Gorgon
Show / Hide Table of Contents

Interface IGorgonSwapChainInfo

Settings for defining the set up for a swap chain.

Inherited Members
IGorgonNamedObject.Name
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 Source

Format

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

| Edit this page View Source

Height

Property to return the height of the swap chain back buffer.

Declaration
int Height { get; }
Property Value
Type Description
int
| Edit this page View Source

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.

| Edit this page View Source

Width

Property to return the width of the swap chain back buffer.

Declaration
int Width { get; }
Property Value
Type Description
int

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