Struct DxgiSwapChainDesc
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSwapChainDesc : IEquatable<DxgiSwapChainDesc>
Properties
|
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
BufferDescription
Gets or sets a DxgiModeDesc structure that describes the back buffer display mode.
Declaration
public DxgiModeDesc BufferDescription { 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
IsWindowed
Gets or sets a value indicating whether the output is in windowed mode.
Declaration
public bool IsWindowed { 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
OutputWindowHandle
Gets or sets an handle to the output window. This member must not be Zero.
Declaration
public nint OutputWindowHandle { 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
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
Methods
|
Edit this page
View Source
Equals(DxgiSwapChainDesc)
Declaration
public readonly bool Equals(DxgiSwapChainDesc 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 DxgiSwapChainDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiSwapChainDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiSwapChainDesc> 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 DxgiSwapChainDesc)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiSwapChainDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiSwapChainDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiSwapChainDesc> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(DxgiSwapChainDesc, DxgiSwapChainDesc)
Declaration
public static bool operator ==(DxgiSwapChainDesc left, DxgiSwapChainDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiSwapChainDesc, DxgiSwapChainDesc)
Declaration
public static bool operator !=(DxgiSwapChainDesc left, DxgiSwapChainDesc right)
Parameters
Returns
Implements