public virtual bool bind(IRenderingEngine re) { bool needSetDataPointers = pendingReload; pendingReload = false; if (id == -1) { id = re.genVertexArray(); needSetDataPointers = true; } re.bindVertexArray(id); return(needSetDataPointers); }
public virtual bool bind(IRenderingEngine re) { bool needSetDataPointers = pendingReload; pendingReload = false; if (id == -1) { id = re.genVertexArray(); needSetDataPointers = true; } re.bindVertexArray(id); return(needSetDataPointers); }