Record Class RenderTargetDescriptor.TextureProperties
java.lang.Object
java.lang.Record
com.mojang.blaze3d.resource.RenderTargetDescriptor.TextureProperties
- Enclosing class:
RenderTargetDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theclearColorrecord component.static final RenderTargetDescriptor.TexturePropertiesprivate final GpuFormatThe field for theformatrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionTextureProperties(@Nullable Vector4fc clearColor, GpuFormat format) Creates an instance of aTexturePropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclearColorrecord component.final booleanIndicates whether some other object is "equal to" this one.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
clearColor
-
format
The field for theformatrecord component. -
DEFAULT_DEPTH
-
-
Constructor Details
-
TextureProperties
-
-
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 withObjects::equals(Object,Object). -
clearColor
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-