com.mojang.blaze3d.systems

public class CommandEncoder

com.mojang.blaze3d.systems.CommandEncoder
com.mojang.blaze3d.systems.CommandEncoder
com.mojang.blaze3d.systems.CommandEncoder

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
private final GpuBackend
device
private final CommandEncoderBackend
backend
private boolean
isInRenderPass
private final GpuProfiler
profiler
static final boolean
$assertionsDisabled

Constructor summary

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

Method summary

Modifier and TypeMethod
protected CommandEncoderBackend
backend()
public void
submit()
public GpuBufferAllocator
transientMemory()
protected boolean
isInRenderPass()
public RenderPass
createRenderPass(Supplier<String> label, GpuTextureView colorTexture, Optional<org.joml.Vector4fc> clearColor)
createRenderPass(Supplier<String> arg0, GpuTextureView 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)
createRenderPass(Supplier<String> arg0, GpuTextureView arg1, Optional<org.joml.Vector4fc> arg2, GpuTextureView 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)
createRenderPass(Supplier<String> arg0, GpuTextureView arg1, Optional<org.joml.Vector4fc> arg2, GpuTextureView arg3, OptionalDouble arg4, RenderPass$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)
createRenderPass(class_1_900 arg0)
createRenderPass(RenderPassDescription description)
protected void
submitRenderPass()
public void
clearColorTexture(GpuTexture colorTexture, org.joml.Vector4fc clearColor)
clearColorTexture(GpuTexture 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)
clearColorAndDepthTextures(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture 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)
clearColorAndDepthTextures(GpuTexture arg0, org.joml.Vector4fc arg1, GpuTexture 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)
clearDepthTexture(GpuTexture arg0, double arg1)
clearDepthTexture(GpuTexture texture, double depth)
public void
writeToBuffer(GpuBufferSlice destination, ByteBuffer data)
writeToBuffer(GpuBufferSlice arg0, ByteBuffer arg1)
writeToBuffer(GpuBufferSlice slice, ByteBuffer source)
public void
copyToBuffer(GpuBufferSlice source, GpuBufferSlice target)
copyToBuffer(GpuBufferSlice arg0, GpuBufferSlice arg1)
copyToBuffer(GpuBufferSlice from, GpuBufferSlice to)
public void
writeToTexture(GpuTexture destination, NativeImage source)
writeToTexture(GpuTexture arg0, class_1011 arg1)
writeToTexture(GpuTexture target, NativeImage source)
public void
writeToTexture(GpuTexture destination, NativeImage source, int mipLevel, int depthOrLayer, int destX, int destY)
writeToTexture(GpuTexture 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)
writeToTexture(GpuTexture 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)
copyBufferToTexture(GpuBufferSlice arg0, int arg1, int arg2, int arg3, int arg4, GpuTexture arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11)
copyBufferToTexture(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)
copyTextureToBuffer(GpuTexture arg0, GpuBuffer 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)
copyTextureToBuffer(GpuTexture arg0, GpuBuffer 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)
copyTextureToTexture(GpuTexture arg0, GpuTexture 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()
public void
writeTimestamp(GpuQueryPool pool, int index)
writeTimestamp(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool timestampQueryPool, int index)
private void
verifyColorTexture(GpuTexture colorTexture)
verifyColorTexture(GpuTexture arg0)
verifyColorTexture(GpuTexture texture)
private void
verifyDepthTexture(GpuTexture depthTexture)
verifyDepthTexture(GpuTexture arg0)
verifyDepthTexture(GpuTexture texture)
private void
verifyRegion(GpuTexture colorTexture, int regionX, int regionY, int regionWidth, int regionHeight)
verifyRegion(GpuTexture arg0, int arg1, int arg2, int arg3, int arg4)
verifyRegion(GpuTexture texture, int regionX, int regionY, int regionWidth, int regionHeight)