public Writer(Program program, BoWriter<? super DrawVert> writer) { mProgram = program; mVertWriter = writer; mVao = new Vao(mVbo, null); program.init(mDraw); writer.attributes(mVao); }
@Override protected void freeObject() { mProgram.dispose(mDraw); mVao.dispose(mDraw); }