net.minecraft.client.vulkan

public class VulkanSurfaceBackend

implements GpuSurfaceBackend

com.mojang.blaze3d.vulkan.VulkanGpuSurface
net.minecraft.class_1_702
net.minecraft.client.vulkan.VulkanSurfaceBackend

Field summary

Modifier and TypeField
private static final int
NO_CURRENT_IMAGE
field_1_3589
NOT_ACQUIRED
private final VulkanBackend
device
field_1_3594
device
private final org.lwjgl.vulkan.VkQueue
presentQueue
field_1_3597
graphicsAndComputeQueue
private final long
surface
field_1_3599
rawSurface
private final int
swapchainImageFormat
field_1_3854
surfaceFormat
private long
swapchain
field_1_3603
swapchain
private int
swapchainWidth
field_1_3606
width
private int
swapchainHeight
field_1_3600
height
private final it.unimi.dsi.fastutil.longs.LongList
swapchainImages
field_1_3602
swapchainImages
private final long[]
acquireSemaphores
field_1_3591
frameSemaphores
private int
currentAcquireSemaphore
field_1_3592
currentFrameSemaphoreIndex
private long[]
presentSemaphores
field_1_3598
swapchainImageSemaphores
private int
currentImageIndex
field_1_3593
acquiredSwapchainImageIndex
private SurfaceException
eatenException
field_1_3595
nextAcquireException
private boolean
swapchainSuboptimal
field_1_3605
needsReconfigure
private boolean
swapchainOutOfDate
field_1_3604
swapchainOutdated
private final Set<GpuSurface$PresentMode>
supportedPresentModes
field_1_3853
supportedPresentModes
static final boolean
$assertionsDisabled
field_1_3587
field_1_3587

Constructor summary

ModifierConstructor
public (VulkanBackend device, long window)

Method summary

Modifier and TypeMethod
private Set<GpuSurface$PresentMode>
convertPresentModes(IntBuffer presentModes)
method_1_4206(IntBuffer arg0)
decodeSupportedPresentModes(IntBuffer rawPresentModes)
public Collection<GpuSurface$PresentMode>
supportedPresentModes()
method_1_4682()
getSupportedPresentModes()
public org.lwjgl.vulkan.VkSurfaceFormatKHR
pickSwapchainSurfaceFormat(org.lwjgl.vulkan.VkSurfaceFormatKHR$Buffer formats)
method_1_4207(org.lwjgl.vulkan.VkSurfaceFormatKHR$Buffer arg0)
findCompatibleSurfaceFormat(org.lwjgl.vulkan.VkSurfaceFormatKHR$Buffer surfaceFormats)
public static void
throwIfFailure(int result, String message)
method_1_4208(int arg0, String arg1)
reportSurfaceError(int code, String message)
public void
close()
private void
destroySwapchain()
method_1_4205()
freeCurrentSwapchain()
public void
configure(GpuSurface$Configuration config)
method_1_4240(class_1_665$class_1_666 arg0)
configure(GpuSurface$Settings arg0)
public boolean
isSuboptimal()
method_1_4241()
needsReconfigure()
public void
acquireNextTexture()
method_1_4238()
acquire()
public void
blitFromTexture(CommandEncoderBackend commandEncoder, GpuTextureView textureView)
method_1_4239(class_1_154 arg0, GpuTextureView arg1)
blit(CommandEncoderBackend arg0, GpuTextureView arg1)
public void
present()
method_1_4242()
present()