Struct DxgiGammaControl
Controls the settings of a gamma curve.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiGammaControl : IEquatable<DxgiGammaControl>
Properties
| Edit this page View SourceOffset
Gets or sets a DxgiColorRgb structure with offset values that are applied to the RGB values before being sent to the gamma look up table.
Declaration
public DxgiColorRgb Offset { get; set; }
Property Value
Type | Description |
---|---|
DxgiColorRgb |
Scale
Gets or sets a DxgiColorRgb structure with scalar values that are applied to RGB values before being sent to the gamma look up table.
Declaration
public DxgiColorRgb Scale { get; set; }
Property Value
Type | Description |
---|---|
DxgiColorRgb |
Methods
| Edit this page View SourceEquals(DxgiGammaControl)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiGammaControl other)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControl | 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 SourceGetGammaCurve()
Gets an array of DxgiColorRgb structures that control the points of a gamma curve.
Declaration
public DxgiColorRgb[] GetGammaCurve()
Returns
Type | Description |
---|---|
DxgiColorRgb[] | An array of DxgiColorRgb structures. |
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
| Edit this page View SourceSetGammaCurve(DxgiColorRgb[])
Sets an array of DxgiColorRgb structures that control the points of a gamma curve.
Declaration
public void SetGammaCurve(DxgiColorRgb[] curve)
Parameters
Type | Name | Description |
---|---|---|
DxgiColorRgb[] | curve | An array of DxgiColorRgb structures. |
Operators
| Edit this page View Sourceoperator ==(DxgiGammaControl, DxgiGammaControl)
Compares two DxgiGammaControl objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiGammaControl left, DxgiGammaControl right)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControl | left | The left DxgiGammaControl to compare. |
DxgiGammaControl | right | The right DxgiGammaControl to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiGammaControl, DxgiGammaControl)
Compares two DxgiGammaControl objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiGammaControl left, DxgiGammaControl right)
Parameters
Type | Name | Description |
---|---|---|
DxgiGammaControl | left | The left DxgiGammaControl to compare. |
DxgiGammaControl | right | The right DxgiGammaControl to compare. |
Returns
Type | Description |
---|---|
bool |