Struct DxgiSwapChainDesc1
Describes a swap chain.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSwapChainDesc1 : IEquatable<DxgiSwapChainDesc1>
Properties
| Edit this page View SourceAlphaMode
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
Type | Description |
---|---|
DxgiAlphaMode |
BufferCount
Gets or sets a value that describes the number of buffers in the swap chain.
Declaration
public uint BufferCount { get; set; }
Property Value
Type | Description |
---|---|
uint |
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
Type | Description |
---|---|
DxgiUsages |
Format
Gets or sets a member of the DxgiFormat enumeration describing the display format.
Declaration
public DxgiFormat Format { get; set; }
Property Value
Type | Description |
---|---|
DxgiFormat |
Height
Gets or sets a value describing the resolution height.
Declaration
public uint Height { get; set; }
Property Value
Type | Description |
---|---|
uint |
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
Type | Description |
---|---|
DxgiSwapChainOptions |
SampleDescription
Gets or sets a DxgiSampleDesc structure that describes multi-sampling parameters.
Declaration
public DxgiSampleDesc SampleDescription { get; set; }
Property Value
Type | Description |
---|---|
DxgiSampleDesc |
Scaling
Gets or sets a member of the DxgiScaling enumeration describing the scaling mode.
Declaration
public DxgiScaling Scaling { get; set; }
Property Value
Type | Description |
---|---|
DxgiScaling |
Stereo
Gets or sets a value indicating whether the full-screen display mode is stereo.
Declaration
public bool Stereo { get; set; }
Property Value
Type | Description |
---|---|
bool |
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
Type | Description |
---|---|
DxgiSwapEffect |
Width
Gets or sets a value that describes the resolution width.
Declaration
public uint Width { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(DxgiSwapChainDesc1)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiSwapChainDesc1 other)
Parameters
Type | Name | Description |
---|---|---|
DxgiSwapChainDesc1 | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DxgiSwapChainDesc1, DxgiSwapChainDesc1)
Compares two DxgiSwapChainDesc1 objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiSwapChainDesc1 left, DxgiSwapChainDesc1 right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSwapChainDesc1 | left | The left DxgiSwapChainDesc1 to compare. |
DxgiSwapChainDesc1 | right | The right DxgiSwapChainDesc1 to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiSwapChainDesc1, DxgiSwapChainDesc1)
Compares two DxgiSwapChainDesc1 objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiSwapChainDesc1 left, DxgiSwapChainDesc1 right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSwapChainDesc1 | left | The left DxgiSwapChainDesc1 to compare. |
DxgiSwapChainDesc1 | right | The right DxgiSwapChainDesc1 to compare. |
Returns
Type | Description |
---|---|
bool |