com.mojang.blaze3d.systems

public class RenderPass

implements AutoCloseable

com.mojang.renderpearl.api.commands.RenderPass
net.minecraft.class_1_1227
com.mojang.blaze3d.systems.RenderPass

Field summary

Modifier and TypeField
public static final int
MAX_VERTEX_BUFFERS
field_1_8519
field_1_8519
private final RenderPassBackend
backend
field_1_8520
backend
private final GpuBackend
device
field_1_8523
gpuBackend
private final GpuFeatures
deviceFeatures
field_1_8522
features
private final GpuDeviceLimits
deviceLimits
field_1_8524
limits
private final Runnable
onFinish
field_1_8526
onFinish
private final RenderPass$RenderArea
renderArea
field_1_8528
renderArea
private boolean
isClosed
field_1_8525
closed
private int
pushedDebugGroups
field_1_8527
numPushedDebugGroups
private final List<RenderPassDescription$Attachment<Optional<org.joml.Vector4fc>>>
colorAttachments
field_1_8521
colorAttachments

Constructor summary

ModifierConstructor
public (RenderPassBackend backend, GpuBackend device, List<RenderPassDescription$Attachment<Optional<org.joml.Vector4fc>>> colorAttachments, Runnable onFinish, RenderPass$RenderArea renderArea)

Method summary

Modifier and TypeMethod
public void
pushDebugGroup(Supplier<String> label)
method_1_7805(Supplier<String> arg0)
pushDebugGroup(Supplier<String> labelGetter)
public void
popDebugGroup()
method_1_7804()
popDebugGroup()
public void
writeTimestamp(GpuQueryPool pool, int index)
method_1_7811(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool timestampQueryPool, int index)
public void
setPipeline(CompiledRenderPipeline pipeline)
method_1_7807(class_1_1285 arg0)
setPipeline(CompiledPipeline compiledPipeline)
public void
bindTexture(String name, GpuTextureView textureView, GpuSampler sampler)
method_1_7792(String arg0, class_1_1260 arg1, class_12137 arg2)
bindTexture(String name, GpuTextureView textureView, GpuSampler sampler)
public void
setUniform(String name, GpuBuffer value)
method_1_7808(String arg0, class_1_1211 arg1)
setUniform(String name, GpuBuffer buffer)
public void
setUniform(String name, GpuBufferSlice value)
method_1_7809(String arg0, class_1_1254 arg1)
setUniform(String name, GpuBufferSlice slice)
public void
enableScissor(int x, int y, int width, int height)
method_1_7799(int arg0, int arg1, int arg2, int arg3)
enableScissor(int x, int y, int width, int height)
public void
disableScissor()
method_1_7793()
disableScissor()
public void
setVertexBuffer(int slot, GpuBufferSlice vertexBuffer)
method_1_7810(int arg0, class_1_1254 arg1)
setVertexBuffer(int slot, GpuBufferSlice vertexBuffer)
public void
setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
method_1_7806(class_1_1211 arg0, class_5595 arg1)
setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
public void
drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
method_1_7795(int arg0, int arg1, int arg2, int arg3, int arg4)
drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
public void
multiDrawIndexed(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_7802(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawIndexedInterleaved(IntBuffer indexInfo, int instanceCount, int firstInstance, int drawCount)
public void
multiDrawIndexed(org.lwjgl.PointerBuffer firstIndexOffsets, IntBuffer indexCounts, IntBuffer vertexOffsets, int drawCount)
method_1_7803(org.lwjgl.PointerBuffer arg0, IntBuffer arg1, IntBuffer arg2, int arg3)
multiDrawIndexedSeparate(org.lwjgl.PointerBuffer indices, IntBuffer count, IntBuffer first, int drawCount)
public void
drawIndexedIndirect(GpuBufferSlice commands, int drawCount)
method_1_7796(class_1_1254 arg0, int arg1)
drawIndexedIndirect(GpuBufferSlice buffer, int drawCount)
public <T> void
drawMultipleIndexed(Collection<RenderPass$Draw<T>> draws, GpuBuffer defaultIndexBuffer, IndexType defaultIndexType, Collection<String> dynamicUniforms, T uniformArgument)
method_1_7798(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>> objects, GpuBuffer buffer, IndexType indexType, Collection<String> validationSkippedUniforms, T uniformArgument)
public void
draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
method_1_7794(int arg0, int arg1, int arg2, int arg3)
draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
public void
multiDraw(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_7800(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawInterleaved(IntBuffer vertexInfo, int instanceCount, int firstInstance, int drawCount)
public void
multiDraw(IntBuffer firstVertices, IntBuffer vertexCounts, int drawCount)
method_1_7801(IntBuffer arg0, IntBuffer arg1, int arg2)
multiDrawSeparate(IntBuffer first, IntBuffer count, int drawCount)
public void
drawIndirect(GpuBufferSlice commands, int drawCount)
method_1_7797(class_1_1254 arg0, int arg1)
drawIndirect(GpuBufferSlice buffer, int drawCount)
public void
close()