Struct DxgiSampleDesc
Describes multi-sampling parameters for a resource.
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSampleDesc : IEquatable<DxgiSampleDesc>
Constructors
|
Edit this page
View Source
DxgiSampleDesc(uint, uint)
Declaration
public DxgiSampleDesc(uint count, uint quality)
Parameters
| Type |
Name |
Description |
| uint |
count |
The number of multi-samples per pixel.
|
| uint |
quality |
The image quality level. The higher the quality, the lower the performance.
|
Properties
|
Edit this page
View Source
Count
Gets or sets the number of multi-samples per pixel.
Declaration
public uint Count { get; set; }
Property Value
|
Edit this page
View Source
Quality
Gets or sets the image quality level. The higher the quality, the lower the performance.
Declaration
public uint Quality { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiSampleDesc)
Declaration
public readonly bool Equals(DxgiSampleDesc 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 DxgiSampleDesc NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiSampleDesc>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiSampleDesc> 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 DxgiSampleDesc)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiSampleDesc obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiSampleDesc>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiSampleDesc> objects)
Parameters
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override readonly string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
Operators
|
Edit this page
View Source
operator ==(DxgiSampleDesc, DxgiSampleDesc)
Declaration
public static bool operator ==(DxgiSampleDesc left, DxgiSampleDesc right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiSampleDesc, DxgiSampleDesc)
Declaration
public static bool operator !=(DxgiSampleDesc left, DxgiSampleDesc right)
Parameters
Returns
Implements