Record Class VulkanDebuggingType.Color
java.lang.Object
java.lang.Record
com.io7m.jcoronado.api.VulkanDebuggingType.Color
- Record Components:
red- The red channelgreen- The green channelblue- The blue channel
- Enclosing interface:
VulkanDebuggingType
public static record VulkanDebuggingType.Color(double red, double green, double blue)
extends Record
A label color.
-
Constructor Summary
ConstructorsConstructorDescriptionColor(double red, double green, double blue) Creates an instance of aColorrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleblue()Returns the value of thebluerecord component.final booleanIndicates whether some other object is "equal to" this one.doublegreen()Returns the value of thegreenrecord component.final inthashCode()Returns a hash code value for this object.doublered()Returns the value of theredrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Color
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
red
-
green
-
blue
-