com.mojang.blaze3d.systems

public class CommandEncoderImpl

implements CommandEncoder

com.mojang.renderpearl.frontend.FrontendCommandEncoder
net.minecraft.class_1_1256
com.mojang.blaze3d.systems.CommandEncoderImpl

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_8621
LOGGER
private final GpuBackend
device
field_1_8623
device
private final CommandEncoderBackend
backend
field_1_8622
backend
private boolean
isInRenderPass
field_1_8624
renderPassOpen
private final GpuProfiler
profiler
field_1_8625
profiler
static final boolean
$assertionsDisabled
field_1_8620
field_1_8620

Constructor summary

ModifierConstructor
public (GpuProfiler profiler, GpuBackend device, CommandEncoderBackend backend)

Method summary

Modifier and TypeMethod
public CommandEncoderBackend
backend()
method_1_7933()
getBackend()
public void
submit()
method_1_7949()
submit()
public GpuBufferAllocator
transientMemory()
method_1_7951()
getBufferAllocator()
public boolean
isInRenderPass()
method_1_7948()
isRenderPassOpen()
public RenderPass
createRenderPass(Supplier<String> label, GpuTextureView colorTexture, Optional<org.joml.Vector4fc> clearColor)
method_1_7945(Supplier<String> arg0, class_1_1330 arg1, Optional<org.joml.Vector4fc> arg2)
createRenderPass(Supplier<String> arg0, GpuTextureView arg1, Optional<org.joml.Vector4fc> arg2)
public RenderPass
createRenderPass(Supplier<String> label, GpuTextureView colorTexture, Optional<org.joml.Vector4fc> clearColor, GpuTextureView depthTexture, OptionalDouble clearDepth)
method_1_7946(Supplier<String> arg0, class_1_1330 arg1, Optional<org.joml.Vector4fc> arg2, class_1_1330 arg3, OptionalDouble arg4)
createRenderPass(Supplier<String> arg0, GpuTextureView arg1, Optional<org.joml.Vector4fc> arg2, GpuTextureView arg3, OptionalDouble arg4)
public RenderPass
createRenderPass(Supplier<String> label, GpuTextureView colorTexture, Optional<org.joml.Vector4fc> clearColor, GpuTextureView depthTexture, OptionalDouble clearDepth, RenderPass$RenderArea renderArea)
method_1_7947(Supplier<String> arg0, class_1_1330 arg1, Optional<org.joml.Vector4fc> arg2, class_1_1330 arg3, OptionalDouble arg4, class_1_1317$class_1_837 arg5)
createRenderPass(Supplier<String> arg0, GpuTextureView arg1, Optional<org.joml.Vector4fc> arg2, GpuTextureView arg3, OptionalDouble arg4, RenderPass$RenderArea arg5)
public RenderPass
createRenderPass(RenderPassDescriptor descriptor)
method_1_7944(class_1_900 arg0)
createRenderPass(RenderPassDescription arg0)
protected void
submitRenderPass()
method_1_7950()
finishRenderPass()
public void
clearColorTexture(GpuTexture colorTexture, org.joml.Vector4fc clearColor)
method_1_7936(class_1_1318 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_7934(class_1_1318 arg0, org.joml.Vector4fc arg1, class_1_1318 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_7935(class_1_1318 arg0, org.joml.Vector4fc arg1, class_1_1318 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_7937(class_1_1318 arg0, double arg1)
clearDepthTexture(GpuTexture arg0, double arg1)
public void
writeToBuffer(GpuBufferSlice destination, ByteBuffer data)
method_1_7956(class_1_1254 arg0, ByteBuffer arg1)
writeToBuffer(GpuBufferSlice arg0, ByteBuffer arg1)
public void
copyToBuffer(GpuBufferSlice source, GpuBufferSlice target)
method_1_7942(class_1_1254 arg0, class_1_1254 arg1)
copyToBuffer(GpuBufferSlice arg0, GpuBufferSlice arg1)
public void
writeToTexture(GpuTexture destination, NativeImage source)
method_1_7957(class_1_1318 arg0, class_1011 arg1)
writeToTexture(GpuTexture arg0, NativeImage arg1)
public void
writeToTexture(GpuTexture destination, NativeImage source, int mipLevel, int depthOrLayer, int destX, int destY)
method_1_7958(class_1_1318 arg0, class_1011 arg1, int arg2, int arg3, int arg4, int arg5)
writeToTexture(GpuTexture arg0, NativeImage arg1, int arg2, int arg3, int arg4, int arg5)
public void
writeToTexture(GpuTexture destination, ByteBuffer source, int mipLevel, int depthOrLayer, int destX, int destY, int width, int height)
method_1_7959(class_1_1318 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_7938(class_1_1254 arg0, int arg1, int arg2, int arg3, int arg4, class_1_1318 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_7939(class_1_1318 arg0, class_1_1211 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_7940(class_1_1318 arg0, class_1_1211 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_7941(class_1_1318 arg0, class_1_1318 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)
public GpuFence
createFence()
method_1_7943()
createFence()
public void
writeTimestamp(GpuQueryPool pool, int index)
method_1_7955(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool arg0, int arg1)
private void
verifyColorTexture(GpuTexture colorTexture)
method_1_7952(class_1_1318 arg0)
assertClearableColorTexture(GpuTexture texture)
private void
verifyDepthTexture(GpuTexture depthTexture)
method_1_7953(class_1_1318 arg0)
assertClearableDepthTexture(GpuTexture texture)
private void
verifyRegion(GpuTexture colorTexture, int regionX, int regionY, int regionWidth, int regionHeight)
method_1_7954(class_1_1318 arg0, int arg1, int arg2, int arg3, int arg4)
assertValidRegion(GpuTexture texture, int regionX, int regionY, int regionWidth, int regionHeight)