Package arc

Class Graphics.BufferFormat

java.lang.Object
arc.Graphics.BufferFormat
Enclosing class:
Graphics

public static class Graphics.BufferFormat extends Object
Class describing the bits per pixel, depth buffer precision, stencil precision and number of MSAA samples.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    final int
     
    final boolean
    whether coverage sampling anti-aliasing is used.
    final int
     
    final int
     
    final int
     
    final int
    number of samples for multi-sample anti-aliasing (MSAA)
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BufferFormat(int r, int g, int b, int a, int depth, int stencil, int samples, boolean coverageSampling)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • r

      public final int r
    • g

      public final int g
    • b

      public final int b
    • a

      public final int a
    • depth

      public final int depth
    • stencil

      public final int stencil
    • samples

      public final int samples
      number of samples for multi-sample anti-aliasing (MSAA)
    • coverageSampling

      public final boolean coverageSampling
      whether coverage sampling anti-aliasing is used. in that case you have to clear the coverage buffer as well!
  • Constructor Details

    • BufferFormat

      public BufferFormat(int r, int g, int b, int a, int depth, int stencil, int samples, boolean coverageSampling)
  • Method Details