use of gaiasky.render.IRenderable in project gaiasky by langurmonkey.
the class VertGPURenderSystem method notify.
@Override
public void notify(Event event, Object source, Object... data) {
if (event == Event.GPU_DISPOSE_VERTS_OBJECT) {
IRenderable renderable = (IRenderable) source;
RenderGroup rg = (RenderGroup) data[0];
if (rg == RenderGroup.LINE_GPU || rg == RenderGroup.POINT_GPU) {
setInGpu(renderable, false);
}
}
}
Aggregations