Record Class CLNImageCubeMipMapDeclaration
java.lang.Object
java.lang.Record
com.io7m.calino.api.CLNImageCubeMipMapDeclaration
- Record Components:
mipMapLevel- The mipmap levelxPositive- The positive X facexNegative- The negative X faceyPositive- The positive Y faceyNegative- The negative Y facezPositive- The positive Z facezNegative- The negative Z face
- All Implemented Interfaces:
Comparable<CLNImageCubeMipMapDeclaration>
public record CLNImageCubeMipMapDeclaration(int mipMapLevel, CLNImageCubeFaceDeclaration xPositive, CLNImageCubeFaceDeclaration xNegative, CLNImageCubeFaceDeclaration yPositive, CLNImageCubeFaceDeclaration yNegative, CLNImageCubeFaceDeclaration zPositive, CLNImageCubeFaceDeclaration zNegative)
extends Record
implements Comparable<CLNImageCubeMipMapDeclaration>
The declaration of a single cube mipmap.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNImageCubeMipMapDeclaration(int mipMapLevel, CLNImageCubeFaceDeclaration xPositive, CLNImageCubeFaceDeclaration xNegative, CLNImageCubeFaceDeclaration yPositive, CLNImageCubeFaceDeclaration yNegative, CLNImageCubeFaceDeclaration zPositive, CLNImageCubeFaceDeclaration zNegative) The declaration of a single cube mipmap. -
Method Summary
Modifier and TypeMethodDescriptionintfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themipMapLevelrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thexNegativerecord component.Returns the value of thexPositiverecord component.Returns the value of theyNegativerecord component.Returns the value of theyPositiverecord component.Returns the value of thezNegativerecord component.Returns the value of thezPositiverecord component.
-
Constructor Details
-
CLNImageCubeMipMapDeclaration
public CLNImageCubeMipMapDeclaration(int mipMapLevel, CLNImageCubeFaceDeclaration xPositive, CLNImageCubeFaceDeclaration xNegative, CLNImageCubeFaceDeclaration yPositive, CLNImageCubeFaceDeclaration yNegative, CLNImageCubeFaceDeclaration zPositive, CLNImageCubeFaceDeclaration zNegative) The declaration of a single cube mipmap.- Parameters:
mipMapLevel- The mipmap levelxPositive- The positive X facexNegative- The negative X faceyPositive- The positive Y faceyNegative- The negative Y facezPositive- The positive Z facezNegative- The negative Z face
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<CLNImageCubeMipMapDeclaration>
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
mipMapLevel
public int mipMapLevel()Returns the value of themipMapLevelrecord component.- Returns:
- the value of the
mipMapLevelrecord component
-
xPositive
-
xNegative
-
yPositive
-
yNegative
-
zPositive
-
zNegative
-