Struct DxgiSampleDesc
Describes multi-sampling parameters for a resource.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiSampleDesc : IEquatable<DxgiSampleDesc>
Constructors
| Edit this page View SourceDxgiSampleDesc(uint, uint)
Initializes a new instance of the DxgiSampleDesc struct.
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 SourceCount
Gets or sets the number of multi-samples per pixel.
Declaration
public uint Count { get; set; }
Property Value
Type | Description |
---|---|
uint |
Quality
Gets or sets the image quality level. The higher the quality, the lower the performance.
Declaration
public uint Quality { get; set; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(DxgiSampleDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiSampleDesc other)
Parameters
Type | Name | Description |
---|---|---|
DxgiSampleDesc | 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
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DxgiSampleDesc, DxgiSampleDesc)
Compares two DxgiSampleDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiSampleDesc left, DxgiSampleDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSampleDesc | left | The left DxgiSampleDesc to compare. |
DxgiSampleDesc | right | The right DxgiSampleDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiSampleDesc, DxgiSampleDesc)
Compares two DxgiSampleDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiSampleDesc left, DxgiSampleDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiSampleDesc | left | The left DxgiSampleDesc to compare. |
DxgiSampleDesc | right | The right DxgiSampleDesc to compare. |
Returns
Type | Description |
---|---|
bool |