Struct DxgiGammaControlCapabilities
Controls the gamma capabilities of an adapter.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiGammaControlCapabilities : IEquatable<DxgiGammaControlCapabilities>
Properties
| Edit this page View SourceIsScaleAndOffsetSupported
Gets a value indicating whether scaling and offset operations are supported during gamma correction.
Declaration
public bool IsScaleAndOffsetSupported { get; }
Property Value
Type | Description |
---|---|
bool |
MaximumConvertedValue
Gets a value describing the maximum range of the control-point positions.
Declaration
public float MaximumConvertedValue { get; }
Property Value
Type | Description |
---|---|
float |
MinimumConvertedValue
Gets a value describing the minimum range of the control-point positions.
Declaration
public float MinimumConvertedValue { get; }
Property Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceEquals(DxgiGammaControlCapabilities)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiGammaControlCapabilities other)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControlCapabilities | 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 SourceGetGammaControlPointPositions()
Gets an array of values describing control points; the maximum length of control points is 1025.
Declaration
public float[] GetGammaControlPointPositions()
Returns
Type | Description |
---|---|
float[] | An array of values describing control points. |
GetHashCode()
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 ==(DxgiGammaControlCapabilities, DxgiGammaControlCapabilities)
Compares two DxgiGammaControlCapabilities objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiGammaControlCapabilities left, DxgiGammaControlCapabilities right)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControlCapabilities | left | The left DxgiGammaControlCapabilities to compare. |
DxgiGammaControlCapabilities | right | The right DxgiGammaControlCapabilities to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiGammaControlCapabilities, DxgiGammaControlCapabilities)
Compares two DxgiGammaControlCapabilities objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiGammaControlCapabilities left, DxgiGammaControlCapabilities right)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControlCapabilities | left | The left DxgiGammaControlCapabilities to compare. |
DxgiGammaControlCapabilities | right | The right DxgiGammaControlCapabilities to compare. |
Returns
Type | Description |
---|---|
bool |