Struct DxgiColorRgb
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiColorRgb : IEquatable<DxgiColorRgb>
Properties
|
Edit this page
View Source
Blue
Gets or sets a value representing the color of the blue component. The range of this value is between 0 and 1.
Declaration
public float Blue { get; set; }
Property Value
|
Edit this page
View Source
Green
Gets or sets a value representing the color of the green component. The range of this value is between 0 and 1.
Declaration
public float Green { get; set; }
Property Value
|
Edit this page
View Source
Red
Gets or sets a value representing the color of the red component. The range of this value is between 0 and 1.
Declaration
public float Red { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(DxgiColorRgb)
Declaration
public readonly bool Equals(DxgiColorRgb 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 DxgiColorRgb NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<DxgiColorRgb>)
Declaration
public static void NativeReadFrom(nint buffer, Span<DxgiColorRgb> 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 DxgiColorRgb)
Declaration
public static void NativeWriteTo(nint buffer, in DxgiColorRgb obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<DxgiColorRgb>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<DxgiColorRgb> 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 ==(DxgiColorRgb, DxgiColorRgb)
Declaration
public static bool operator ==(DxgiColorRgb left, DxgiColorRgb right)
Parameters
Returns
|
Edit this page
View Source
operator !=(DxgiColorRgb, DxgiColorRgb)
Declaration
public static bool operator !=(DxgiColorRgb left, DxgiColorRgb right)
Parameters
Returns
Implements