Share via


Color4 Struct

Definition

4-component color (red, green, blue, alpha) with single precision.

public value class Color4 : IEquatable<Microsoft::Azure::RemoteRendering::Color4>
public struct Color4 : IEquatable<Microsoft.Azure.RemoteRendering.Color4>
type Color4 = struct
Public Structure Color4
Implements IEquatable(Of Color4)
Inheritance
Color4
Implements

Remarks

Values are in 0..1 range, but can go above that range to represent high-dynamic range (HDR) colors. The color values are assumed to be in 'linear space', not in 'Gamma space'.

Constructors

Color4(Single, Single, Single, Single)

Fields

A
B
G
R

Methods

Equals(Color4)
Equals(Object)
GetHashCode()
IsValid()

Operators

Equality(Color4, Color4)
Inequality(Color4, Color4)

Applies to