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, BufferType type, BufferUsage usage, int size) createBuffer(@Nullable Supplier<String> labelGetter, BufferType type, BufferUsage usage, ByteBuffer source) createTexture(@Nullable String label, TextureFormat format, int width, int height, int mipLevels) createTexture(@Nullable Supplier<String> labelGetter, TextureFormat format, int width, int height, int mipLevels) intbooleandefault 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, TextureFormat format, int width, int height, int mipLevels) - Mappings:
Namespace Name Mixin selector named createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;intermediary createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;official createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
-
createTexture
GpuTexture createTexture(@Nullable @Nullable String label, TextureFormat format, int width, int height, int mipLevels) - Mappings:
Namespace Name Mixin selector named createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;intermediary createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;official createTextureLcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
-
createBuffer
GpuBuffer createBuffer(@Nullable @Nullable Supplier<String> labelGetter, BufferType type, BufferUsage usage, int size) - Mappings:
Namespace Name Mixin selector named createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;I)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;I)Lcom/mojang/blaze3d/buffers/GpuBuffer;official createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;I)Lcom/mojang/blaze3d/buffers/GpuBuffer;
-
createBuffer
GpuBuffer createBuffer(@Nullable @Nullable Supplier<String> labelGetter, BufferType type, BufferUsage usage, ByteBuffer source) - Mappings:
Namespace Name Mixin selector named createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;intermediary createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;Ljava/nio/ByteBuffer;)Lcom/mojang/blaze3d/buffers/GpuBuffer;official createBufferLcom/mojang/blaze3d/systems/GpuDevice;createBuffer(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/buffers/BufferType;Lcom/mojang/blaze3d/buffers/BufferUsage;Ljava/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() -
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()
-