|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.gfx.gl.PaperMill | +--gzz.gfx.gl.CachingPaperMill
A papermill instance that caches a predetermined number of papers.
Constructor Summary | |
CachingPaperMill(PaperMill realPaperMill,
int n)
|
Method Summary | |
Paper |
getOptimizedPaper(int seed,
GraphicsAPI.RenderingSurface w)
Get an optimized (rendered-to-texture) paper. |
Paper |
getPaper(int seed)
Get the paper corresponding to the given seed. |
Methods inherited from class gzz.gfx.gl.PaperMill |
getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CachingPaperMill(PaperMill realPaperMill, int n)
Method Detail |
public Paper getOptimizedPaper(int seed, GraphicsAPI.RenderingSurface w)
PaperMill
HOWEVER, this does not work on ATI drivers; so it is not guaranteed that the paper will be like that. Check it first.
getOptimizedPaper
in class PaperMill
GL.workaroundStupidBuggyAtiDrivers
public Paper getPaper(int seed)
PaperMill
getPaper
in class PaperMill
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |