Package com.mojang.blaze3d.systems
Interface CommandEncoder
- All Known Implementing Classes:
GlCommandEncoder
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/CommandEncoder
intermediary com/mojang/blaze3d/systems/CommandEncoder
official com/mojang/blaze3d/systems/CommandEncoder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearColorAndDepthTextures
(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth) void
clearColorAndDepthTextures
(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth, int scissorX, int scissorY, int scissorWidth, int scissorHeight) void
clearColorTexture
(GpuTexture texture, int color) void
clearDepthTexture
(GpuTexture texture, double depth) void
copyTextureToBuffer
(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel) void
copyTextureToBuffer
(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel, int intoX, int intoY, int width, int height) void
copyTextureToTexture
(GpuTexture source, GpuTexture target, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height) void
copyToBuffer
(GpuBufferSlice gpuBufferSlice, GpuBufferSlice gpuBufferSlice2) createRenderPass
(Supplier<String> labelGetter, GpuTextureView colorAttachment, OptionalInt clearColor) createRenderPass
(Supplier<String> labelGetter, GpuTextureView colorAttachment, OptionalInt clearColor, @Nullable GpuTextureView depthAttachment, OptionalDouble clearDepth) mapBuffer
(GpuBufferSlice slice, boolean read, boolean write) void
presentTexture
(GpuTextureView texture) void
writeToBuffer
(GpuBufferSlice slice, ByteBuffer source) void
writeToTexture
(GpuTexture target, IntBuffer source, NativeImage.Format format, int mipLevel, int depth, int offsetX, int offsetY, int width, int height) void
writeToTexture
(GpuTexture target, NativeImage source) void
writeToTexture
(GpuTexture target, NativeImage source, int mipLevel, int depth, int offsetX, int offsetY, int width, int height, int skipPixels, int skipRows)
-
Method Details
-
createRenderPass
RenderPass createRenderPass(Supplier<String> labelGetter, GpuTextureView colorAttachment, OptionalInt clearColor) - Mappings:
Namespace Name Mixin selector named createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;)Lcom/mojang/blaze3d/systems/RenderPass;
intermediary createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;)Lcom/mojang/blaze3d/systems/RenderPass;
official createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;)Lcom/mojang/blaze3d/systems/RenderPass;
-
createRenderPass
RenderPass createRenderPass(Supplier<String> labelGetter, GpuTextureView colorAttachment, OptionalInt clearColor, @Nullable @Nullable GpuTextureView depthAttachment, OptionalDouble clearDepth) - Mappings:
Namespace Name Mixin selector named createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalDouble;)Lcom/mojang/blaze3d/systems/RenderPass;
intermediary createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalDouble;)Lcom/mojang/blaze3d/systems/RenderPass;
official createRenderPass
Lcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalDouble;)Lcom/mojang/blaze3d/systems/RenderPass;
-
clearColorTexture
- Mappings:
Namespace Name Mixin selector named clearColorTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorTexture(Lcom/mojang/blaze3d/textures/GpuTexture;I)V
intermediary clearColorTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorTexture(Lcom/mojang/blaze3d/textures/GpuTexture;I)V
official clearColorTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorTexture(Lcom/mojang/blaze3d/textures/GpuTexture;I)V
-
clearColorAndDepthTextures
void clearColorAndDepthTextures(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth) - Mappings:
Namespace Name Mixin selector named clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;D)V
intermediary clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;D)V
official clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;D)V
-
clearColorAndDepthTextures
void clearColorAndDepthTextures(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth, int scissorX, int scissorY, int scissorWidth, int scissorHeight) - Mappings:
Namespace Name Mixin selector named clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)V
intermediary clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)V
official clearColorAndDepthTextures
Lcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)V
-
clearDepthTexture
- Mappings:
Namespace Name Mixin selector named clearDepthTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)V
intermediary clearDepthTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)V
official clearDepthTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)V
-
writeToBuffer
- Mappings:
Namespace Name Mixin selector named writeToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)V
intermediary writeToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)V
official writeToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)V
-
mapBuffer
- Mappings:
Namespace Name Mixin selector named mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
intermediary mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
official mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
-
mapBuffer
- Mappings:
Namespace Name Mixin selector named mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
intermediary mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
official mapBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
-
copyToBuffer
-
writeToTexture
- Mappings:
Namespace Name Mixin selector named writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/client/texture/NativeImage;)V
intermediary writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/class_1011;)V
official writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lfne;)V
-
writeToTexture
void writeToTexture(GpuTexture target, NativeImage source, int mipLevel, int depth, int offsetX, int offsetY, int width, int height, int skipPixels, int skipRows) - Mappings:
Namespace Name Mixin selector named writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/client/texture/NativeImage;IIIIIIII)V
intermediary writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/class_1011;IIIIIIII)V
official writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lfne;IIIIIIII)V
-
writeToTexture
void writeToTexture(GpuTexture target, IntBuffer source, NativeImage.Format format, int mipLevel, int depth, int offsetX, int offsetY, int width, int height) - Mappings:
Namespace Name Mixin selector named writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/IntBuffer;Lnet/minecraft/client/texture/NativeImage$Format;IIIIII)V
intermediary writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/IntBuffer;Lnet/minecraft/class_1011$class_1012;IIIIII)V
official writeToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/IntBuffer;Lfne$a;IIIIII)V
-
copyTextureToBuffer
void copyTextureToBuffer(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel) - Mappings:
Namespace Name Mixin selector named copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;I)V
intermediary copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;I)V
official copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;I)V
-
copyTextureToBuffer
void copyTextureToBuffer(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel, int intoX, int intoY, int width, int height) - Mappings:
Namespace Name Mixin selector named copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;IIIII)V
intermediary copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;IIIII)V
official copyTextureToBuffer
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;IIIII)V
-
copyTextureToTexture
void copyTextureToTexture(GpuTexture source, GpuTexture target, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height) - Mappings:
Namespace Name Mixin selector named copyTextureToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)V
intermediary copyTextureToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)V
official copyTextureToTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)V
-
presentTexture
- Mappings:
Namespace Name Mixin selector named presentTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)V
intermediary presentTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)V
official presentTexture
Lcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)V
-
createFence
GpuFence createFence()
-