net.minecraft.client.vulkan

public class VulkanCommandEncoderBackend

implements CommandEncoderBackend, DeferredDisposable

com.mojang.blaze3d.vulkan.VulkanCommandEncoder
net.minecraft.class_1_715
net.minecraft.client.vulkan.VulkanCommandEncoderBackend

Field summary

Modifier and TypeField
public static final int
MAX_SUBMITS_IN_FLIGHT
field_1_3657
field_1_3657
private final VulkanBackend
device
field_1_3665
device
private final VulkanGpuBufferAllocator
transientMemory
field_1_6961
gpuBufferAllocator
private final long
submitSemaphore
field_1_3667
submitSemaphore
private long
currentSubmitIndex
field_1_3663
submitValue
private long
completedSubmitIndex
field_1_3660
lastWaitValue
private final MarkerRecorder$Queue
checkpointStorage
field_1_6424
markerRecorderQueue
private VulkanQueue$Submission
submissionBuilder
field_1_3666
submission
private final BatchObjectDisposer<DeferredDisposable>
destroyQueue
field_1_3664
objectDisposer
private final VulkanCommandPool[]
commandPools
field_1_6425
commandPools
private org.lwjgl.vulkan.VkCommandBuffer
currentCommandBuffer
field_1_3661
commandBuffer
private VulkanRenderPassBackend
currentRenderPass
field_1_3662
renderPass
static final boolean
$assertionsDisabled
field_1_3656
field_1_3656

Constructor summary

ModifierConstructor
public (VulkanBackend device)

Method summary

Modifier and TypeMethod
public void
destroy()
method_1_4001()
destroy()
public void
queueForDestroy(Destroyable destroyable)
method_1_4270(class_1_669 arg0)
close(DeferredDisposable object)
private VulkanCommandPool
currentCommandPool()
method_1_5536()
getCommandPool()
public org.lwjgl.vulkan.VkCommandBuffer
allocateAndBeginTransientCommandBuffer()
method_1_4261()
beginCommandBuffer()
private org.lwjgl.vulkan.VkCommandBuffer
commandBuffer()
method_1_5535()
getCommandBufferImpl()
org.lwjgl.vulkan.VkCommandBuffer
textureInitCommandBuffer()
method_1_4274()
getCommandBuffer()
private void
endCommandBuffer()
method_1_4263()
endCommandBuffer()
public void
waitSemaphore(long vkSemaphore, long value, long stageMask)
method_1_4275(long arg0, long arg1, long arg2)
addWait(long vkSemaphore, long value, long stageMask)
public void
execute(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)
method_1_4264(org.lwjgl.vulkan.VkCommandBuffer arg0)
addCommandBuffer(org.lwjgl.vulkan.VkCommandBuffer commandBuffer)
public void
signalSemaphore(long vkSemaphore, long value, long stageMask)
method_1_4273(long arg0, long arg1, long arg2)
addSignal(long vkSemaphore, long value, long stageMask)
private void
memoryBarrier(org.lwjgl.system.MemoryStack stack)
method_1_4269(org.lwjgl.system.MemoryStack arg0)
issueMemoryBarrier(org.lwjgl.system.MemoryStack memoryStack)
public static void
memoryBarrier(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, org.lwjgl.system.MemoryStack stack)
method_1_6194(org.lwjgl.vulkan.VkCommandBuffer arg0, org.lwjgl.system.MemoryStack arg1)
issueMemoryBarrier(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, org.lwjgl.system.MemoryStack memoryStack)
public void
submit()
method_1_4410()
submit()
public GpuBufferAllocator
transientMemory()
method_1_6231()
getGpuBufferAllocator()
public RenderPassBackend
createRenderPass(RenderPassDescriptor descriptor)
method_1_1391(class_1_900 arg0)
createRenderPass(RenderPassDescription arg0)
public void
submitRenderPass()
method_68346()
closePass()
private void
clearColorTextureUnsynced(org.lwjgl.system.MemoryStack stack, GpuTexture colorTexture, org.joml.Vector4fc clearColor)
method_1_4259(org.lwjgl.system.MemoryStack arg0, GpuTexture arg1, org.joml.Vector4fc arg2)
clearTextureColor(org.lwjgl.system.MemoryStack memoryStack, GpuTexture texture, org.joml.Vector4fc clearColor)
public void
clearDepthTextureUnsynced(org.lwjgl.system.MemoryStack stack, GpuTexture depthTexture, double clearDepth)
method_1_4260(org.lwjgl.system.MemoryStack arg0, GpuTexture arg1, double arg2)
clearTextureDepth(org.lwjgl.system.MemoryStack memoryStack, GpuTexture texture, double depth)
public void
clearColorTexture(GpuTexture colorTexture, org.joml.Vector4fc clearColor)
method_1_1383(GpuTexture arg0, org.joml.Vector4fc arg1)
clearColorTexture(GpuTexture arg0, org.joml.Vector4fc arg1)
public void
clearColorAndDepthTextures(GpuTexture colorTexture, org.joml.Vector4fc clearColor, GpuTexture depthTexture, double clearDepth)
method_1_1381(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture arg2, double arg3)
clearColorAndDepthTextures(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture arg2, double arg3)
public void
clearColorAndDepthTextures(GpuTexture colorTexture, org.joml.Vector4fc clearColor, GpuTexture depthTexture, double clearDepth, int regionX, int regionY, int regionWidth, int regionHeight)
method_1_1382(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture arg2, double arg3, int arg4, int arg5, int arg6, int arg7)
clearColorAndDepthTextures(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture arg2, double arg3, int arg4, int arg5, int arg6, int arg7)
public void
clearDepthTexture(GpuTexture depthTexture, double clearDepth)
method_1_1384(GpuTexture arg0, double arg1)
clearDepthTexture(GpuTexture arg0, double arg1)
public void
writeToBuffer(GpuBufferSlice destination, ByteBuffer data)
method_1_1397(GpuBufferSlice arg0, ByteBuffer arg1)
writeToBuffer(GpuBufferSlice arg0, ByteBuffer arg1)
public void
copyToBuffer(GpuBufferSlice source, GpuBufferSlice target)
method_1_1388(GpuBufferSlice arg0, GpuBufferSlice arg1)
copyToBuffer(GpuBufferSlice arg0, GpuBufferSlice arg1)
public void
writeToTexture(GpuTexture destination, ByteBuffer source, int mipLevel, int depthOrLayer, int destX, int destY, int width, int height)
method_1_1399(GpuTexture arg0, ByteBuffer arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
writeToTexture(GpuTexture arg0, ByteBuffer arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
public void
copyBufferToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture destination, int destinationX, int destinationY, int copyWidth, int copyHeight, int mipLevel, int arrayLayer)
method_1_1398(GpuBufferSlice arg0, int arg1, int arg2, int arg3, int arg4, GpuTexture arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11)
writeToTexture(GpuBufferSlice arg0, int arg1, int arg2, int arg3, int arg4, GpuTexture arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11)
public void
copyTextureToBuffer(GpuTexture source, GpuBuffer destination, long offset, Runnable callback, int mipLevel)
method_1_1385(GpuTexture arg0, GpuBuffer arg1, long arg2, Runnable arg3, int arg4)
copyTextureToBuffer(GpuTexture arg0, GpuBuffer arg1, long arg2, Runnable arg3, int arg4)
public void
copyTextureToBuffer(GpuTexture source, GpuBuffer destination, long offset, Runnable callback, int mipLevel, int x, int y, int width, int height)
method_1_1386(GpuTexture arg0, GpuBuffer arg1, long arg2, Runnable arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
copyTextureToBuffer(GpuTexture arg0, GpuBuffer arg1, long arg2, Runnable arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
public void
copyTextureToTexture(GpuTexture source, GpuTexture destination, int mipLevel, int destX, int destY, int sourceX, int sourceY, int width, int height)
method_1_1387(GpuTexture arg0, GpuTexture arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
copyTextureToTexture(GpuTexture arg0, GpuTexture arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
private boolean
awaitSubmitCompletion(long submitIndex, long timeoutNS)
method_1_4258(long arg0, long arg1)
wait(long waitValue, long arg1)
public GpuFence
createFence()
method_1_1389()
createFence()
public void
writeTimestamp(GpuQueryPool pool, int index)
method_1_4411(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool arg0, int arg1)
public long
getTimestampNow()
method_1_4265()
getTimestampNow()
private static String
lambda$clearColorAndDepthTextures$0()
method_1_4266()
method_1_4266()