net.minecraft.client.vulkan

public class VulkanRenderPassBackend

implements RenderPassBackend

com.mojang.renderpearl.backend.vulkan.VulkanRenderPass
com.mojang.renderpearl.backend.vulkan.VulkanRenderPass
net.minecraft.class_1_704
net.minecraft.client.vulkan.VulkanRenderPassBackend

Field summary

Modifier and TypeField
private final VulkanBackend
device
device
field_1_3617
device
private final VulkanCommandEncoderBackend
encoder
encoder
field_1_6401
commandEncoder
private final MarkerRecorder$Queue
checkpointStorage
checkpointStorage
field_1_6399
markerRecorderQueue
private final RenderPass$RenderArea
renderArea
renderArea
field_1_5956
renderArea
private final int
outputWidth
outputWidth
field_1_3621
width
private final int
outputHeight
outputHeight
field_1_3620
height
private final boolean
hasDepth
hasDepth
field_1_3619
hasDepth
private final Supplier<String>
label
label
field_1_6402
labelGetter
protected int
pushedDebugGroups
pushedDebugGroups
field_1_3624
numDebugGroups
private final org.lwjgl.vulkan.VkCommandBuffer
commandBuffer
commandBuffer
field_1_6400
commandBuffer
protected VulkanBackendRenderPipeline
pipeline
pipeline
field_1_3622
pipeline
private boolean
anyDescriptorDirty
anyDescriptorDirty
field_1_3615
shaderParamsDirty
protected final it.unimi.dsi.fastutil.objects.ReferenceList<Object>
uniforms
uniforms
field_1_3627
uniforms

Constructor summary

ModifierConstructor
public (VulkanBackend device, VulkanCommandEncoderBackend commandEncoder, org.lwjgl.vulkan.VkCommandBuffer commandBuffer, MarkerRecorder$Queue markerRecorderQueue, RenderPass$RenderArea renderArea, int width, int height, boolean hasDepth, Supplier<String> labelGetter)

Method summary

Modifier and TypeMethod
private org.lwjgl.vulkan.VkCommandBuffer
commandBuffer()
commandBuffer()
method_1_4212()
createCommandBuffer()
public void
pushDebugGroup(Supplier<String> label)
pushDebugGroup(Supplier<String> label)
method_1_1333(Supplier<String> arg0)
pushDebugGroup(Supplier<String> arg0)
public void
popDebugGroup()
popDebugGroup()
method_1_1332()
popDebugGroup()
public void
setPipeline(BackendRenderPipeline pipeline)
setPipeline(BackendRenderPipeline pipeline)
method_1_1335(class_1_1386 arg0)
setPipeline(BackendRenderPipeline arg0)
public void
setUniform(int index, Object value)
setUniform(int index, Object value)
method_1_9105(int arg0, Object arg1)
setUniform(int arg0, Object arg1)
public void
pushConstants(ByteBuffer value)
pushConstants(ByteBuffer value)
method_1_9273(ByteBuffer arg0)
pushConstants(ByteBuffer arg0)
public void
enableScissor(int x, int y, int width, int height)
enableScissor(int x, int y, int width, int height)
method_1_1330(int arg0, int arg1, int arg2, int arg3)
enableScissor(int arg0, int arg1, int arg2, int arg3)
private static void
setScissor(org.lwjgl.system.MemoryStack stack, org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int x, int y, int width, int height)
setScissor(org.lwjgl.system.MemoryStack stack, org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int x, int y, int width, int height)
method_1_5120(org.lwjgl.system.MemoryStack arg0, org.lwjgl.vulkan.VkCommandBuffer arg1, int arg2, int arg3, int arg4, int arg5)
setScissor(org.lwjgl.system.MemoryStack memoryStack, org.lwjgl.vulkan.VkCommandBuffer viewportCommandBuffer, int x, int y, int width, int height)
public void
disableScissor()
disableScissor()
method_1_1326()
disableScissor()
public void
setVertexBuffer(int slot, GpuBufferSlice vertexBuffer)
setVertexBuffer(int slot, GpuBufferSlice vertexBuffer)
method_1_1338(int arg0, class_1_1254 arg1)
setVertexBuffer(int arg0, GpuBufferSlice arg1)
public void
setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
method_1_1334(class_1_1211 arg0, class_5595 arg1)
setIndexBuffer(GpuBuffer arg0, IndexType arg1)
public void
drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
method_1_1328(int arg0, int arg1, int arg2, int arg3, int arg4)
drawIndexed(int arg0, int arg1, int arg2, int arg3, int arg4)
public void
multiDrawIndexed(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
multiDrawIndexed(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_6188(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawIndexedInterleaved(IntBuffer arg0, int arg1, int arg2, int arg3)
public void
multiDrawIndexed(org.lwjgl.PointerBuffer firstIndexOffsets, IntBuffer indexCounts, IntBuffer vertexOffsets, int drawCount)
multiDrawIndexed(org.lwjgl.PointerBuffer firstIndexOffsets, IntBuffer indexCounts, IntBuffer vertexOffsets, int drawCount)
method_1_6189(org.lwjgl.PointerBuffer arg0, IntBuffer arg1, IntBuffer arg2, int arg3)
multiDrawIndexedSeparate(org.lwjgl.PointerBuffer arg0, IntBuffer arg1, IntBuffer arg2, int arg3)
public void
drawIndexedIndirect(GpuBufferSlice commands, int drawCount)
drawIndexedIndirect(GpuBufferSlice commands, int drawCount)
method_1_5511(class_1_1254 arg0, int arg1)
drawIndexedIndirect(GpuBufferSlice arg0, int arg1)
public void
draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
method_1_1327(int arg0, int arg1, int arg2, int arg3)
draw(int arg0, int arg1, int arg2, int arg3)
public void
multiDraw(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
multiDraw(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_6186(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawInterleaved(IntBuffer arg0, int arg1, int arg2, int arg3)
public void
multiDraw(IntBuffer firstVertices, IntBuffer vertexCounts, int drawCount)
multiDraw(IntBuffer firstVertices, IntBuffer vertexCounts, int drawCount)
method_1_6187(IntBuffer arg0, IntBuffer arg1, int arg2)
multiDrawSeparate(IntBuffer arg0, IntBuffer arg1, int arg2)
public void
drawIndirect(GpuBufferSlice commands, int drawCount)
drawIndirect(GpuBufferSlice commands, int drawCount)
method_1_5512(class_1_1254 arg0, int arg1)
drawIndirect(GpuBufferSlice arg0, int arg1)
private void
pushDescriptors()
pushDescriptors()
method_1_4217()
updateShaderParams()
public void
writeTimestamp(GpuQueryPool pool, int index)
writeTimestamp(GpuQueryPool pool, int index)
method_1_4243(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool arg0, int arg1)
public Supplier<String>
getLabel()
getLabel()
method_1_5504()
getLabelGetter()