net.minecraft.client.vulkan

public class VulkanRenderPassBackend

implements RenderPassBackend

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

Field summary

Modifier and TypeField
public static final boolean
VALIDATION
field_1_3614
IS_DEVELOPMENT
private final VulkanBackend
device
field_1_3617
device
private final VulkanCommandEncoderBackend
encoder
field_1_6401
commandEncoder
private final MarkerRecorder$Queue
checkpointStorage
field_1_6399
markerRecorderQueue
private final RenderPass$RenderArea
renderArea
field_1_5956
renderArea
private final int
outputWidth
field_1_3621
width
private final int
outputHeight
field_1_3620
height
private final boolean
hasDepth
field_1_3619
hasDepth
private final Supplier<String>
label
field_1_6402
labelGetter
protected int
pushedDebugGroups
field_1_3624
numDebugGroups
private final org.lwjgl.vulkan.VkCommandBuffer
commandBuffer
field_1_6400
commandBuffer
protected VulkanCompiledRenderPipeline
pipeline
field_1_3622
pipeline
private boolean
anyDescriptorDirty
field_1_3615
shaderParamsDirty
protected final HashMap<String, GpuBufferSlice>
uniforms
field_1_3627
uniforms
protected final HashMap<String, VulkanRenderPassBackend$BoundTexture>
textures
field_1_3626
boundTextures
static final boolean
$assertionsDisabled
field_1_3613
field_1_3613

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()
method_1_4212()
createCommandBuffer()
public void
pushDebugGroup(Supplier<String> label)
method_1_1333(Supplier<String> arg0)
pushDebugGroup(Supplier<String> arg0)
public void
popDebugGroup()
method_1_1332()
popDebugGroup()
public void
setPipeline(CompiledRenderPipeline pipeline)
method_1_1335(class_1_1285 arg0)
setPipeline(CompiledPipeline arg0)
public void
bindTexture(String name, GpuTextureView textureView, GpuSampler sampler)
method_1_1325(String arg0, class_1_1260 arg1, class_12137 arg2)
bindTexture(String arg0, GpuTextureView arg1, GpuSampler arg2)
public void
setUniform(String name, GpuBuffer value)
method_1_1336(String arg0, class_1_1211 arg1)
setUniform(String arg0, GpuBuffer arg1)
public void
setUniform(String name, GpuBufferSlice value)
method_1_1337(String arg0, class_1_1254 arg1)
setUniform(String arg0, GpuBufferSlice arg1)
public void
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)
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()
method_1_1326()
disableScissor()
public void
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)
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)
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)
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)
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)
method_1_5511(class_1_1254 arg0, int arg1)
drawIndexedIndirect(GpuBufferSlice arg0, int arg1)
public <T> void
drawMultipleIndexed(Collection<RenderPass$Draw<T>> draws, GpuBuffer defaultIndexBuffer, IndexType defaultIndexType, Collection<String> dynamicUniforms, T uniformArgument)
method_1_1329(Collection<class_1_1227$class_10884<T>> arg0, class_1_1211 arg1, class_5595 arg2, Collection<String> arg3, T arg4)
drawMultipleIndexed(Collection<RenderPass$RenderObject<T>> arg0, GpuBuffer arg1, IndexType arg2, Collection<String> arg3, T arg4)
public void
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)
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)
method_1_6187(IntBuffer arg0, IntBuffer arg1, int arg2)
multiDrawSeparate(IntBuffer arg0, IntBuffer arg1, int arg2)
public void
drawIndirect(GpuBufferSlice commands, int drawCount)
method_1_5512(class_1_1254 arg0, int arg1)
drawIndirect(GpuBufferSlice arg0, int arg1)
private void
pushDescriptors()
method_1_4217()
updateShaderParams()
public void
writeTimestamp(GpuQueryPool pool, int index)
method_1_4243(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool arg0, int arg1)
public Supplier<String>
getLabel()
method_1_5504()
getLabelGetter()
private void
lambda$pushDescriptors$0(long arg0)
method_1_4216(long arg0)
method_1_4216(long arg0)