public class Optimizations extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
alphalessRendering
We can do alphaless rendering
|
boolean |
primaryColorEnabled
The channel bindings are only "primary" colors.
|
Constructor and Description |
---|
Optimizations() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAlphalessRendering()
Returns
true if the alphaless rendering optimization is
enabled, and false if it is not. |
boolean |
isPrimaryColorEnabled()
Returns
true if the primary color optimization is enabled,
and false if it is not. |
void |
setAlphalessRendering(boolean enabled)
Enable or disable the alphaless rendering optimization.
|
void |
setPrimaryColorEnabled(boolean enabled)
Enable or disable the primary color optimization.
|
public boolean primaryColorEnabled
public boolean alphalessRendering
public void setPrimaryColorEnabled(boolean enabled)
enabled
- whether or not to enable the primary color optimization.public boolean isPrimaryColorEnabled()
true
if the primary color optimization is enabled,
and false
if it is not.public void setAlphalessRendering(boolean enabled)
enabled
is false
it will also disable primary
color rendering.enabled
- whether or not to enable the alphaless rendering
optimization.public boolean isAlphalessRendering()
true
if the alphaless rendering optimization is
enabled, and false
if it is not.
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.