Class BaseGpuTexture

java.lang.Object
com.mojang.renderpearl.backend.common.BaseGpuTexture
All Implemented Interfaces:
GpuTexture, UncheckedAutoCloseable, AutoCloseable
Direct Known Subclasses:
GlTexture, VulkanGpuTexture

public abstract class BaseGpuTexture extends Object implements GpuTexture
  • Field Details

    • format

      private final GpuFormat format
    • width

      private final int width
    • height

      private final int height
    • depthOrLayers

      private final int depthOrLayers
    • mipLevels

      private final int mipLevels
    • usage

      private final int usage
    • label

      private final String label
  • Constructor Details

    • BaseGpuTexture

      public BaseGpuTexture(int usage, String label, GpuFormat format, int width, int height, int depthOrLayers, int mipLevels)
  • Method Details