|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.preferences.model.AbstractSubsystemPreferences
com.partnersoft.preferences.model.OpenglPreferences
public class OpenglPreferences
Preferences for OpenGL rendering engine.
If renderQuality is set to CUSTOM, then the other switches apply; otherwise they do not.
The custom behavior switches are extremely detailed and designed to match exactly to real OpenGL features. So, they are pretty technical.
Copyright 2010 Partner Software, Inc.
| Constructor Summary | |
|---|---|
OpenglPreferences()
|
|
OpenglPreferences(Cog state)
|
|
| Method Summary | |
|---|---|
boolean |
getAntialiasFonts()
If true, fonts are anti-aliased. |
TextureFiltering |
getFontTextureFiltering()
Specifies texture filtering used for map text objects. |
boolean |
getFontTextureMipmapping()
If true, map text font textures are mipmapped (additional scales generated). |
TextureFiltering |
getImageTextureFiltering()
Specifies texture filtering used for map image objects. |
boolean |
getImageTextureMipmapping()
If true, map image object textures are mipmapped (additional scales generated). |
RenderingHint |
getLineSmoothingHint()
This is the quality hint given to the the line smoothing algorithm. |
TextureFiltering |
getPointTextureFiltering()
Specifies texture filtering used for map point object icons. |
boolean |
getPointTextureMipmapping()
If true, map point icon textures are mipmapped (additional scales generated). |
RenderingHint |
getPolygonSmoothingHint()
This is the quality hint given to the the polygon smoothing algorithm. |
RenderQuality |
getRenderQuality()
Render quality preset to use. |
int |
getSampleBufferCount()
This is the number of sample buffers used for full-screen anti-aliasing (FSAA). |
boolean |
getUseFractionalMetrics()
If true, fractional metrics are used to render fonts. |
boolean |
getUseHeavyweightCanvas()
If true, uses a heavyweight (non-Swing) canvas for drawing. |
boolean |
isLineSmoothing()
If true, line smoothing is enabled. |
boolean |
isPolygonSmoothing()
If true, polygon smoothing is enabled. |
void |
setAntialiasFonts(boolean antialiasFonts)
|
void |
setFontTextureFiltering(TextureFiltering fontTextureFiltering)
|
void |
setFontTextureMipmapping(boolean fontTextureMipmapping)
|
void |
setImageTextureFiltering(TextureFiltering imageTextureFiltering)
|
void |
setImageTextureMipmapping(boolean imageTextureMipmapping)
|
void |
setLineSmoothing(boolean lineSmoothing)
|
void |
setLineSmoothingHint(RenderingHint lineSmoothingHint)
|
void |
setPointTextureFiltering(TextureFiltering pointTextureFiltering)
|
void |
setPointTextureMipmapping(boolean pointTextureMipmapping)
|
void |
setPolygonSmoothing(boolean polygonSmoothing)
|
void |
setPolygonSmoothingHint(RenderingHint polygonSmoothingHint)
|
void |
setRenderQuality(RenderQuality renderQuality)
|
void |
setSampleBufferCount(int sampleBufferCount)
|
void |
setUseFractionalMetrics(boolean useFractionalMetrics)
|
void |
setUseHeavyweightCanvas(boolean useHeavyweightCanvas)
|
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
| Methods inherited from class com.partnersoft.preferences.model.AbstractSubsystemPreferences |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenglPreferences()
public OpenglPreferences(Cog state)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog in interface CoggabletoCog in class AbstractSubsystemPreferencespublic RenderQuality getRenderQuality()
public void setRenderQuality(RenderQuality renderQuality)
public boolean getUseHeavyweightCanvas()
public void setUseHeavyweightCanvas(boolean useHeavyweightCanvas)
public int getSampleBufferCount()
public void setSampleBufferCount(int sampleBufferCount)
public boolean getAntialiasFonts()
public void setAntialiasFonts(boolean antialiasFonts)
public boolean getUseFractionalMetrics()
public void setUseFractionalMetrics(boolean useFractionalMetrics)
public boolean isLineSmoothing()
public void setLineSmoothing(boolean lineSmoothing)
public RenderingHint getLineSmoothingHint()
public void setLineSmoothingHint(RenderingHint lineSmoothingHint)
public boolean isPolygonSmoothing()
public void setPolygonSmoothing(boolean polygonSmoothing)
public RenderingHint getPolygonSmoothingHint()
public void setPolygonSmoothingHint(RenderingHint polygonSmoothingHint)
public TextureFiltering getPointTextureFiltering()
public void setPointTextureFiltering(TextureFiltering pointTextureFiltering)
public TextureFiltering getImageTextureFiltering()
public void setImageTextureFiltering(TextureFiltering imageTextureFiltering)
public TextureFiltering getFontTextureFiltering()
public void setFontTextureFiltering(TextureFiltering fontTextureFiltering)
public boolean getPointTextureMipmapping()
public void setPointTextureMipmapping(boolean pointTextureMipmapping)
public boolean getImageTextureMipmapping()
public void setImageTextureMipmapping(boolean imageTextureMipmapping)
public boolean getFontTextureMipmapping()
public void setFontTextureMipmapping(boolean fontTextureMipmapping)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||