public class ContextOptionsWebGL extends Options
| Modifier and Type | Field and Description |
|---|---|
Boolean |
alpha
Indicates if the canvas contains an alpha buffer.
|
Boolean |
antialias
Indicates whether or not to perform anti-aliasing.
|
Boolean |
depth
Indicates that the drawing buffer has a depth buffer of at least 16 bits.
|
Boolean |
failIfMajorPerformanceCaveat
Indicates if a context will be created if the system performance is low.
|
Boolean |
premultipliedAlpha
Indicates that the page compositor will assume the drawing buffer contains colors with
pre-multiplied alpha.
|
Boolean |
preserveDrawingBuffer
If the value is true the buffers will not be cleared and will preserve their values until
cleared or overwritten by the author.
|
Boolean |
stencil
Indicates that the drawing buffer has a stencil buffer of at least 8 bits.
|
| Constructor and Description |
|---|
ContextOptionsWebGL() |
@Option public Boolean depth
@Option public Boolean stencil
@Option public Boolean premultipliedAlpha
@Option public Boolean preserveDrawingBuffer
Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.