Struct DxgiSwapChainDesc1
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSwapChainDesc1 : IEquatable<DxgiSwapChainDesc1>
Properties
|
Edit this page
View Source
AlphaMode
Gets or sets a member of the DxgiAlphaMode enumeration that identifies the transparency behavior of the swap-chain back buffer.
Declaration
public DxgiAlphaMode AlphaMode { get; set; }
Property Value
|
Edit this page
View Source
BufferCount
Gets or sets a value that describes the number of buffers in the swap chain.
Declaration
public uint BufferCount { get; set; }
Property Value
|
Edit this page
View Source
BufferUsage
Gets or sets a member of the DxgiUsages enumeration that describes the surface usage and CPU access options for the back buffer. The back buffer can be used for shader input or render-target output.
Declaration
public DxgiUsages BufferUsage { get; set; }
Property Value
|
Edit this page
View Source
Gets or sets a member of the DxgiFormat enumeration describing the display format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
|
Edit this page
View Source
Height
Gets or sets a value describing the resolution height.
Declaration
public uint Height { get; set; }
Property Value
|
Edit this page
View Source
Options
Gets or sets a member of the DxgiSwapChainOptions enumeration that describes options for swap-chain behavior.
Declaration
public DxgiSwapChainOptions Options { get; set; }
Property Value
|
Edit this page
View Source
SampleDescription
Gets or sets a DxgiSampleDesc structure that describes multi-sampling parameters.
Declaration
public DxgiSampleDesc SampleDescription { get; set; }
Property Value
|
Edit this page
View Source
Scaling
Gets or sets a member of the DxgiScaling enumeration describing the scaling mode.
Declaration
public DxgiScaling Scaling { get; set; }
Property Value
|
Edit this page
View Source
Stereo
Gets or sets a value indicating whether the full-screen display mode is stereo.
Declaration
public bool Stereo { get; set; }
Property Value
|
Edit this page
View Source
SwapEffect
Gets or sets a member of the DxgiSwapEffect enumeration that describes options for handling the contents of the presentation buffer after presenting a surface.
Declaration
public DxgiSwapEffect SwapEffect { get; set; }
Property Value
|
Edit this page
View Source
Width
Gets or sets a value that describes the resolution width.
Declaration
public uint Width { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiSwapChainDesc1)
Declaration
public readonly bool Equals(DxgiSwapChainDesc1 other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static DxgiSwapChainDesc1 NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiSwapChainDesc1>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiSwapChainDesc1> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in DxgiSwapChainDesc1)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiSwapChainDesc1 obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiSwapChainDesc1>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiSwapChainDesc1> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DxgiSwapChainDesc1, DxgiSwapChainDesc1)
Declaration
public static bool operator ==(DxgiSwapChainDesc1 left, DxgiSwapChainDesc1 right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiSwapChainDesc1, DxgiSwapChainDesc1)
Declaration
public static bool operator !=(DxgiSwapChainDesc1 left, DxgiSwapChainDesc1 right)
Parameters
Returns
Implements