Record Class VulkanPNextStruct
java.lang.Object
java.lang.Record
com.mojang.blaze3d.vulkan.init.VulkanPNextStruct
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thestructSizerecord component.private final intThe field for thesTyperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionVulkanPNextStruct(int sType, int structSize) Creates an instance of aVulkanPNextStructrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.longfindOrCreateStructInPNextChain(long pNextChain, MemoryStack stack) longfindOrCreateStructInPNextChain(VkPhysicalDeviceFeatures2 features2, MemoryStack stack) longfindOrCreateStructInPNextChain(VkPhysicalDeviceProperties2 properties2, MemoryStack stack) longfindStructInPNextChain(long pNextChain) private static longfindStructInPNextChain(long pNextChain, int sType) final inthashCode()Returns a hash code value for this object.intReturns the value of thestructSizerecord component.intsType()Returns the value of thesTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
sType
private final int sTypeThe field for thesTyperecord component. -
structSize
private final int structSizeThe field for thestructSizerecord component.
-
-
Constructor Details
-
VulkanPNextStruct
public VulkanPNextStruct(int sType, int structSize) Creates an instance of aVulkanPNextStructrecord class.- Parameters:
sType- the value for thesTyperecord componentstructSize- the value for thestructSizerecord component
-
-
Method Details
-
findOrCreateStructInPNextChain
public long findOrCreateStructInPNextChain(VkPhysicalDeviceProperties2 properties2, MemoryStack stack) -
findOrCreateStructInPNextChain
-
findOrCreateStructInPNextChain
-
findStructInPNextChain
public long findStructInPNextChain(long pNextChain) -
findStructInPNextChain
private static long findStructInPNextChain(long pNextChain, int sType) -
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. -
sType
public int sType()Returns the value of thesTyperecord component.- Returns:
- the value of the
sTyperecord component
-
structSize
public int structSize()Returns the value of thestructSizerecord component.- Returns:
- the value of the
structSizerecord component
-