Class LargeDirectFramebuffer

All Implemented Interfaces:

public class LargeDirectFramebuffer extends Object implements LargeFramebuffer
LargeFramebuffer with direct access to the colors array.

This implementation does not throw errors when accessing out-of-bounds coordinates through sub-views, and will instead use MapColors.NONE. This is only the case for sub-views, access through setMapColor(int, int, byte) and getMapColor(int, int) will throw an exception if out-of-bounds coordinates are inputted.

  • Constructor Details

    • LargeDirectFramebuffer

      public LargeDirectFramebuffer(int width, int height)
      Creates a new LargeDirectFramebuffer with the desired size
      width -
      height -
  • Method Details