Record Class VulkanRenderPass.TextureViewAndSampler
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.VulkanRenderPass.TextureViewAndSampler
- Enclosing class:
VulkanRenderPass
protected static record VulkanRenderPass.TextureViewAndSampler(VulkanGpuTextureView view, VulkanGpuSampler sampler)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final VulkanGpuSamplerThe field for thesamplerrecord component.private final VulkanGpuTextureViewThe field for theviewrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTextureViewAndSampler(VulkanGpuTextureView view, VulkanGpuSampler sampler) Creates an instance of aTextureViewAndSamplerrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.sampler()Returns the value of thesamplerrecord component.final StringtoString()Returns a string representation of this record class.view()Returns the value of theviewrecord component.
-
Field Details
-
view
The field for theviewrecord component. -
sampler
The field for thesamplerrecord component.
-
-
Constructor Details
-
TextureViewAndSampler
Creates an instance of aTextureViewAndSamplerrecord class.- Parameters:
view- the value for theviewrecord componentsampler- the value for thesamplerrecord component
-
-
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). -
view
Returns the value of theviewrecord component.- Returns:
- the value of the
viewrecord component
-
sampler
Returns the value of thesamplerrecord component.- Returns:
- the value of the
samplerrecord component
-