Package com.mojang.blaze3d.systems
Interface GpuDevice
- All Known Implementing Classes:
GlBackend
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/GpuDeviceintermediary com/mojang/blaze3d/systems/GpuDeviceofficial com/mojang/blaze3d/systems/GpuDevice
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()createBuffer(@Nullable Supplier<String> labelGetter, int usage, int size) createBuffer(@Nullable Supplier<String> labelGetter, int usage, ByteBuffer data) createTexture(@Nullable String label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) createTexture(@Nullable Supplier<String> labelGetter, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) createTextureView(GpuTexture texture) createTextureView(GpuTexture texture, int baseMipLevel, int mipLevels) intintbooleandefault CompiledRenderPipelineprecompilePipeline(RenderPipeline pipeline) precompilePipeline(RenderPipeline pipeline, @Nullable BiFunction<Identifier, ShaderType, String> sourceRetriever)
-
Method Details
-
createCommandEncoder
CommandEncoder createCommandEncoder() -
createTexture
GpuTexture createTexture(@Nullable @Nullable Supplier<String> labelGetter, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) - Mappings:
Namespace Name Mixin selector named createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;intermediary createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;official createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;
-
createTexture
GpuTexture createTexture(@Nullable @Nullable String label, int usage, TextureFormat format, int width, int height, int depthOrLayers, int mipLevels) - Mappings:
Namespace Name Mixin selector named createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;intermediary createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;official createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;ILcom/mojang/blaze3d/textures/TextureFormat;IIII)Lcom/mojang/blaze3d/textures/GpuTexture;
-
createTextureView
- Mappings:
Namespace Name Mixin selector named createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;)Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;)Lcom/mojang/blaze3d/textures/GpuTextureView;official createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;)Lcom/mojang/blaze3d/textures/GpuTextureView;
-
createTextureView
- Mappings:
Namespace Name Mixin selector named createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;II)Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;II)Lcom/mojang/blaze3d/textures/GpuTextureView;official createTextureViewLcom/mojang/blaze3d/systems/GpuDevice;createTextureView(Lcom/mojang/blaze3d/textures/GpuTexture;II)Lcom/mojang/blaze3d/textures/GpuTextureView;
-
createBuffer
- Mappings:
Namespace Name Mixin selector named createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;II)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;II)Lcom/mojang/blaze3d/buffers/GpuBuffer;official createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;II)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
createBuffer
GpuBuffer createBuffer(@Nullable @Nullable Supplier<String> labelGetter, int usage, ByteBuffer data) - Mappings:
Namespace Name Mixin selector named createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;ILjava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;ILjava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;official createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;ILjava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
getImplementationInformation
String getImplementationInformation() -
getLastDebugMessages
-
isDebuggingEnabled
boolean isDebuggingEnabled() -
getVendor
String getVendor() -
getBackendName
String getBackendName() -
getVersion
String getVersion() -
getRenderer
String getRenderer() -
getMaxTextureSize
int getMaxTextureSize() -
getUniformOffsetAlignment
int getUniformOffsetAlignment() -
precompilePipeline
- Mappings:
Namespace Name Mixin selector named precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;intermediary precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;official precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
-
precompilePipeline
CompiledRenderPipeline precompilePipeline(RenderPipeline pipeline, @Nullable @Nullable BiFunction<Identifier, ShaderType, String> sourceRetriever) - Mappings:
Namespace Name Mixin selector named precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;intermediary precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;official precompilePipelineLcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
-
clearPipelineCache
void clearPipelineCache() -
getEnabledExtensions
-
close
void close()
-