|
HOME | PROJECTS | REALITY | EMAIL |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--Gfx
Name: class Gfx (Graphics Engine Interface)
Desc: interface to ReOS and reality.java
| Constructor Summary | |
Gfx()
constructor. |
|
Gfx(ReOS os)
constructor. |
|
| Method Summary | |
boolean |
addEntity(ReOSRenderable entity,
java.lang.String rendererName)
adds new entity to ReOS, and bind with named renderer |
boolean |
addRenderer(ReOSRenderer ren,
java.lang.String name)
add named renderer |
long |
getTimeSinceInitMillis()
get time since init |
java.lang.String |
getVersion()
get version |
ReOSDC |
hdc()
get the reference to the device context |
boolean |
initialize()
initialize ReOS |
ReOSLoader |
loader()
get the reference to the object loader |
boolean |
nextCycle()
next cycle timing mechanism |
void |
removeAllEntities()
removes all entities |
boolean |
removeEntity(ReOSRenderable entity)
removes entity from drawing list |
boolean |
removeRenderer(ReOSRenderer ren)
remove renderer from reos |
void |
render()
the rendering process (no swap) using internal graphics context |
void |
render(ReOSDC hdc)
the rendering process ( no swap ) |
boolean |
renderAll()
the complete rendering process using internal hdc |
boolean |
renderAll(ReOSDC hdc)
the complete rendering process |
void |
renderAutomators(ReOSDC hdc)
render the automator (update) |
void |
renderBegin(ReOSDC hdc)
begin the rendering process |
void |
renderEnd(ReOSDC hdc)
stop rendering (last step) |
void |
renderEntities(ReOSDC hdc)
render the internal list of entities |
void |
renderUpdate(ReOSDC hdc)
render/update internal state |
void |
setDC(ReOSDC hdc)
set the internal hdc to another instance |
void |
setIntervalMillis(long n)
interval |
boolean |
swap()
swap buffer to primary display using internal graphics context |
boolean |
swap(ReOSDC hdc)
swap buffer to primary display |
ReOSWorld |
world()
get the reference to the world |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Gfx()
public Gfx(ReOS os)
| Method Detail |
public java.lang.String getVersion()
public boolean addEntity(ReOSRenderable entity,
java.lang.String rendererName)
entity - entity to be addedrendererName - name of renderer to associate with entitypublic boolean removeEntity(ReOSRenderable entity)
entity - entity to be removedpublic void removeAllEntities()
public boolean addRenderer(ReOSRenderer ren,
java.lang.String name)
ren - renderer to be addedname - public boolean removeRenderer(ReOSRenderer ren)
ren - renderer to be removedpublic ReOSDC hdc()
public ReOSLoader loader()
public ReOSWorld world()
public void setDC(ReOSDC hdc)
public void renderBegin(ReOSDC hdc)
public void renderEntities(ReOSDC hdc)
public void renderAutomators(ReOSDC hdc)
public void renderUpdate(ReOSDC hdc)
public void renderEnd(ReOSDC hdc)
public boolean swap(ReOSDC hdc)
public boolean swap()
public void render(ReOSDC hdc)
public void render()
public boolean renderAll(ReOSDC hdc)
public boolean renderAll()
public boolean nextCycle()
public void setIntervalMillis(long n)
public boolean initialize()
public long getTimeSinceInitMillis()
|
HOME | PROJECTS | REALITY | EMAIL |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||