public final class TLspViewPaintingHints extends Object
ILspView
,
allowing the user to bias either towards higher performance or
towards better visual quality. Painting hints can be constructed using the
supplied TLspViewPaintingHints.Builder
.
The hints take into account the currently installed GPU.
For example, the automatic setting will enable high-quality features for GPUs that can handle them
without a considerable performance impact.
Currently, only a single hint (getQuality()
) is
defined. Additional hints may be introduced in the future.TLspViewBuilder.paintingHints(com.luciad.view.lightspeed.TLspViewPaintingHints)
Modifier and Type | Class and Description |
---|---|
static class |
TLspViewPaintingHints.Builder
Builder for
TLspViewPaintingHints objects. |
Modifier and Type | Field and Description |
---|---|
static TLspViewPaintingHints |
AUTOMATIC
Predefined painting hints that set all available hints to the setting
that balances performance and visual quality.
|
static TLspViewPaintingHints |
MAX_PERFORMANCE
Predefined painting hints that set all available hints to the setting
that favors higher performance over visual quality or correctness.
|
static TLspViewPaintingHints |
MAX_QUALITY
Predefined painting hints that set all available hints to the setting
that favors better visual quality or correctness over performance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ELspQualityHint |
getQuality()
Hint that influences the overall behavior of
ILspView ,
allowing the user to bias either towards higher performance or
towards better visual quality. |
int |
hashCode() |
static TLspViewPaintingHints.Builder |
newBuilder()
Creates a new
TLspViewPaintingHints.Builder with which shape painter hints can be
created. |
public static final TLspViewPaintingHints AUTOMATIC
public static final TLspViewPaintingHints MAX_QUALITY
public static final TLspViewPaintingHints MAX_PERFORMANCE
public static TLspViewPaintingHints.Builder newBuilder()
TLspViewPaintingHints.Builder
with which shape painter hints can be
created.public ELspQualityHint getQuality()
ILspView
,
allowing the user to bias either towards higher performance or
towards better visual quality.TLspViewPaintingHints.Builder.quality(com.luciad.view.lightspeed.ELspQualityHint)