Class MainTarget

java.lang.Object
com.mojang.blaze3d.pipeline.RenderTarget
com.mojang.blaze3d.pipeline.MainTarget

public class MainTarget extends RenderTarget
  • Field Details

  • Constructor Details

    • MainTarget

      public MainTarget(int desiredWidth, int desiredHeight)
    • MainTarget

      public MainTarget(int desiredWidth, int desiredHeight, boolean enableStencil)
  • Method Details

    • createFrameBuffer

      private void createFrameBuffer(int desiredWidth, int desiredHeight)
    • allocateAttachments

      private MainTarget.Dimension allocateAttachments(int width, int height)
    • allocateColorAttachment

      private @Nullable GpuTexture allocateColorAttachment(MainTarget.Dimension dimension)
    • allocateDepthAttachment

      private @Nullable GpuTexture allocateDepthAttachment(MainTarget.Dimension dimension)