Interface GpuDevice

All Known Implementing Classes:
GlBackend

@Environment(CLIENT) public interface GpuDevice
Mappings:
Namespace Name
named com/mojang/blaze3d/systems/GpuDevice
intermediary com/mojang/blaze3d/systems/GpuDevice
official com/mojang/blaze3d/systems/GpuDevice
  • 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 createTexture Lcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary createTexture Lcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/util/function/Supplier;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
      official createTexture Lcom/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 createTexture Lcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary createTexture Lcom/mojang/blaze3d/systems/GpuDevice;createTexture(Ljava/lang/String;Lcom/mojang/blaze3d/textures/TextureFormat;III)Lcom/mojang/blaze3d/textures/GpuTexture;
      official createTexture Lcom/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 createBuffer Lcom/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 createBuffer Lcom/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 createBuffer Lcom/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 createBuffer Lcom/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 createBuffer Lcom/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 createBuffer Lcom/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

      List<String> getLastDebugMessages()
    • isDebuggingEnabled

      boolean isDebuggingEnabled()
    • getVendor

      String getVendor()
    • getBackendName

      String getBackendName()
    • getVersion

      String getVersion()
    • getRenderer

      String getRenderer()
    • getMaxTextureSize

      int getMaxTextureSize()
    • precompilePipeline

      default CompiledRenderPipeline precompilePipeline(RenderPipeline pipeline)
      Mappings:
      Namespace Name Mixin selector
      named precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
      intermediary precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
      official precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
    • precompilePipeline

      Mappings:
      Namespace Name Mixin selector
      named precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
      intermediary precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
      official precompilePipeline Lcom/mojang/blaze3d/systems/GpuDevice;precompilePipeline(Lcom/mojang/blaze3d/pipeline/RenderPipeline;Ljava/util/function/BiFunction;)Lcom/mojang/blaze3d/pipeline/CompiledRenderPipeline;
    • clearPipelineCache

      void clearPipelineCache()
    • getEnabledExtensions

      List<String> getEnabledExtensions()
    • close

      void close()