Package arc
Class Graphics.BufferFormat
java.lang.Object
arc.Graphics.BufferFormat
- Enclosing class:
- Graphics
Class describing the bits per pixel, depth buffer precision, stencil precision and number of MSAA samples.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBufferFormat
(int r, int g, int b, int a, int depth, int stencil, int samples, boolean coverageSampling) -
Method Summary
-
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 samplesnumber of samples for multi-sample anti-aliasing (MSAA) -
coverageSampling
public final boolean coverageSamplingwhether 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