Package com.mojang.blaze3d.systems
Interface CommandEncoder
- All Known Implementing Classes:
GlCommandEncoder
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/CommandEncoderintermediary com/mojang/blaze3d/systems/CommandEncoderofficial com/mojang/blaze3d/systems/CommandEncoder
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearColorAndDepthTextures(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth) voidclearColorAndDepthTextures(GpuTexture colorAttachment, int color, GpuTexture depthAttachment, double depth, int scissorX, int scissorY, int scissorWidth, int scissorHeight) voidclearColorTexture(GpuTexture texture, int color) voidclearDepthTexture(GpuTexture texture, double depth) voidcopyTextureToBuffer(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel) voidcopyTextureToBuffer(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel, int intoX, int intoY, int width, int height) voidcopyTextureToTexture(GpuTexture source, GpuTexture target, int mipLevel, int intoX, int intoY, int sourceX, int sourceY, int width, int height) voidcopyToBuffer(GpuBufferSlice from, GpuBufferSlice to) 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) voidpresentTexture(GpuTextureView texture) voidwriteToBuffer(GpuBufferSlice slice, ByteBuffer source) voidwriteToTexture(GpuTexture target, ByteBuffer buf, NativeImage.Format format, int mipLevel, int depth, int offsetX, int offsetY, int width, int height) voidwriteToTexture(GpuTexture target, NativeImage source) voidwriteToTexture(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 createRenderPassLcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;)Lcom/mojang/blaze3d/systems/RenderPass;intermediary createRenderPassLcom/mojang/blaze3d/systems/CommandEncoder;createRenderPass(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/GpuTextureView;Ljava/util/OptionalInt;)Lcom/mojang/blaze3d/systems/RenderPass;official createRenderPassLcom/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 createRenderPassLcom/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 createRenderPassLcom/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 createRenderPassLcom/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 clearColorTextureLcom/mojang/blaze3d/systems/CommandEncoder;clearColorTexture(Lcom/mojang/blaze3d/textures/GpuTexture;I)Vintermediary clearColorTextureLcom/mojang/blaze3d/systems/CommandEncoder;clearColorTexture(Lcom/mojang/blaze3d/textures/GpuTexture;I)Vofficial clearColorTextureLcom/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 clearColorAndDepthTexturesLcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;D)Vintermediary clearColorAndDepthTexturesLcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;D)Vofficial clearColorAndDepthTexturesLcom/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 clearColorAndDepthTexturesLcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)Vintermediary clearColorAndDepthTexturesLcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)Vofficial clearColorAndDepthTexturesLcom/mojang/blaze3d/systems/CommandEncoder;clearColorAndDepthTextures(Lcom/mojang/blaze3d/textures/GpuTexture;ILcom/mojang/blaze3d/textures/GpuTexture;DIIII)V
-
clearDepthTexture
- Mappings:
Namespace Name Mixin selector named clearDepthTextureLcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)Vintermediary clearDepthTextureLcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)Vofficial clearDepthTextureLcom/mojang/blaze3d/systems/CommandEncoder;clearDepthTexture(Lcom/mojang/blaze3d/textures/GpuTexture;D)V
-
writeToBuffer
- Mappings:
Namespace Name Mixin selector named writeToBufferLcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)Vintermediary writeToBufferLcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)Vofficial writeToBufferLcom/mojang/blaze3d/systems/CommandEncoder;writeToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Ljava/nio/ByteBuffer;)V
-
mapBuffer
- Mappings:
Namespace Name Mixin selector named mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;intermediary mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;official mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBuffer;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
-
mapBuffer
- Mappings:
Namespace Name Mixin selector named mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;intermediary mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;official mapBufferLcom/mojang/blaze3d/systems/CommandEncoder;mapBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;ZZ)Lcom/mojang/blaze3d/buffers/GpuBuffer$MappedView;
-
copyToBuffer
- Mappings:
Namespace Name Mixin selector named copyToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Lcom/mojang/blaze3d/buffers/GpuBufferSlice;)Vintermediary copyToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Lcom/mojang/blaze3d/buffers/GpuBufferSlice;)Vofficial copyToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyToBuffer(Lcom/mojang/blaze3d/buffers/GpuBufferSlice;Lcom/mojang/blaze3d/buffers/GpuBufferSlice;)V
-
writeToTexture
- Mappings:
Namespace Name Mixin selector named writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/client/texture/NativeImage;)Vintermediary writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/class_1011;)Vofficial writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lfsy;)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 writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/client/texture/NativeImage;IIIIIIII)Vintermediary writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lnet/minecraft/class_1011;IIIIIIII)Vofficial writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lfsy;IIIIIIII)V
-
writeToTexture
void writeToTexture(GpuTexture target, ByteBuffer buf, NativeImage.Format format, int mipLevel, int depth, int offsetX, int offsetY, int width, int height) - Mappings:
Namespace Name Mixin selector named writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/ByteBuffer;Lnet/minecraft/client/texture/NativeImage$Format;IIIIII)Vintermediary writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/ByteBuffer;Lnet/minecraft/class_1011$class_1012;IIIIII)Vofficial writeToTextureLcom/mojang/blaze3d/systems/CommandEncoder;writeToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Ljava/nio/ByteBuffer;Lfsy$a;IIIIII)V
-
copyTextureToBuffer
void copyTextureToBuffer(GpuTexture source, GpuBuffer target, int offset, Runnable dataUploadedCallback, int mipLevel) - Mappings:
Namespace Name Mixin selector named copyTextureToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;I)Vintermediary copyTextureToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;I)Vofficial copyTextureToBufferLcom/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 copyTextureToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;IIIII)Vintermediary copyTextureToBufferLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToBuffer(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/buffers/GpuBuffer;ILjava/lang/Runnable;IIIII)Vofficial copyTextureToBufferLcom/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 copyTextureToTextureLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)Vintermediary copyTextureToTextureLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)Vofficial copyTextureToTextureLcom/mojang/blaze3d/systems/CommandEncoder;copyTextureToTexture(Lcom/mojang/blaze3d/textures/GpuTexture;Lcom/mojang/blaze3d/textures/GpuTexture;IIIIIII)V
-
presentTexture
- Mappings:
Namespace Name Mixin selector named presentTextureLcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)Vintermediary presentTextureLcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)Vofficial presentTextureLcom/mojang/blaze3d/systems/CommandEncoder;presentTexture(Lcom/mojang/blaze3d/textures/GpuTextureView;)V
-
createFence
GpuFence createFence()
-