com.mojang.blaze3d.systems

public class CommandEncoder

com.mojang.renderpearl.api.commands.CommandEncoder
net.minecraft.class_1_1256
com.mojang.blaze3d.systems.CommandEncoder

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_1260 arg1, Optional<org.joml.Vector4fc> arg2)
createRenderPass(Supplier<String> labelGetter, GpuTextureView colorAttachment, Optional<org.joml.Vector4fc> clearColor)
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_1260 arg1, Optional<org.joml.Vector4fc> arg2, class_1_1260 arg3, OptionalDouble arg4)
createRenderPass(Supplier<String> labelGetter, GpuTextureView colorAttachment, Optional<org.joml.Vector4fc> clearColor, GpuTextureView depthAttachment, OptionalDouble clearDepth)
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_1260 arg1, Optional<org.joml.Vector4fc> arg2, class_1_1260 arg3, OptionalDouble arg4, class_1_1227$class_1_837 arg5)
createRenderPass(Supplier<String> labelGetter, GpuTextureView colorAttachment, Optional<org.joml.Vector4fc> clearColor, GpuTextureView depthAttachment, OptionalDouble clearDepth, RenderPass$RenderArea renderArea)
public RenderPass
createRenderPass(RenderPassDescriptor descriptor)
method_1_7944(class_1_900 arg0)
createRenderPass(RenderPassDescription description)
protected void
submitRenderPass()
method_1_7950()
finishRenderPass()
public void
clearColorTexture(GpuTexture colorTexture, org.joml.Vector4fc clearColor)
method_1_7936(class_1_1231 arg0, org.joml.Vector4fc arg1)
clearColorTexture(GpuTexture texture, org.joml.Vector4fc clearColor)
public void
clearColorAndDepthTextures(GpuTexture colorTexture, org.joml.Vector4fc clearColor, GpuTexture depthTexture, double clearDepth)
method_1_7934(class_1_1231 arg0, org.joml.Vector4fc arg1, class_1_1231 arg2, double arg3)
clearColorAndDepthTextures(GpuTexture colorAttachment, org.joml.Vector4fc clearColor, GpuTexture depthAttachment, double depth)
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_1231 arg0, org.joml.Vector4fc arg1, class_1_1231 arg2, double arg3, int arg4, int arg5, int arg6, int arg7)
clearColorAndDepthTextures(GpuTexture colorAttachment, org.joml.Vector4fc clearColor, GpuTexture depthAttachment, double depth, int scissorX, int scissorY, int scissorLeft, int scissorTop)
public void
clearDepthTexture(GpuTexture depthTexture, double clearDepth)
method_1_7937(class_1_1231 arg0, double arg1)
clearDepthTexture(GpuTexture texture, double depth)
public void
writeToBuffer(GpuBufferSlice destination, ByteBuffer data)
method_1_7956(class_1_1254 arg0, ByteBuffer arg1)
writeToBuffer(GpuBufferSlice slice, ByteBuffer source)
public void
copyToBuffer(GpuBufferSlice source, GpuBufferSlice target)
method_1_7942(class_1_1254 arg0, class_1_1254 arg1)
copyToBuffer(GpuBufferSlice from, GpuBufferSlice to)
public void
writeToTexture(GpuTexture destination, NativeImage source)
method_1_7957(class_1_1231 arg0, class_1011 arg1)
writeToTexture(GpuTexture target, NativeImage source)
public void
writeToTexture(GpuTexture destination, NativeImage source, int mipLevel, int depthOrLayer, int destX, int destY)
method_1_7958(class_1_1231 arg0, class_1011 arg1, int arg2, int arg3, int arg4, int arg5)
writeToTexture(GpuTexture target, NativeImage source, int mipLevel, int depth, int offsetX, int offsetY)
public void
writeToTexture(GpuTexture destination, ByteBuffer source, int mipLevel, int depthOrLayer, int destX, int destY, int width, int height)
method_1_7959(class_1_1231 arg0, ByteBuffer arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
writeToTexture(GpuTexture target, ByteBuffer buf, int mipLevel, int depth, int offsetX, int offsetY, int width, int height)
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_1231 arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11)
writeToTexture(GpuBufferSlice source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, GpuTexture target, int targetX, int targetY, int targetWidth, int targetHeight, int mipmap, int depthOrLayer)
public void
copyTextureToBuffer(GpuTexture source, GpuBuffer destination, long offset, Runnable callback, int mipLevel)
method_1_7939(class_1_1231 arg0, class_1_1211 arg1, long arg2, Runnable arg3, int arg4)
copyTextureToBuffer(GpuTexture source, GpuBuffer target, long offset, Runnable dataUploadedCallback, int mipLevel)
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_1231 arg0, class_1_1211 arg1, long arg2, Runnable arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
copyTextureToBuffer(GpuTexture source, GpuBuffer target, long offset, Runnable dataUploadedCallback, int mipLevel, int sourceX, int sourceY, int width, int height)
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_1231 arg0, class_1_1231 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
copyTextureToTexture(GpuTexture source, GpuTexture target, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height)
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 timestampQueryPool, int index)
private void
verifyColorTexture(GpuTexture colorTexture)
method_1_7952(class_1_1231 arg0)
assertClearableColorTexture(GpuTexture texture)
private void
verifyDepthTexture(GpuTexture depthTexture)
method_1_7953(class_1_1231 arg0)
assertClearableDepthTexture(GpuTexture texture)
private void
verifyRegion(GpuTexture colorTexture, int regionX, int regionY, int regionWidth, int regionHeight)
method_1_7954(class_1_1231 arg0, int arg1, int arg2, int arg3, int arg4)
assertValidRegion(GpuTexture texture, int regionX, int regionY, int regionWidth, int regionHeight)