Advertisement
IvoB1n

setVertexPullerHead

May 9th, 2020
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. std::vector<Vertex_puller_settings_table>::iterator item;
  2.   for (item = GPU::vp_set_tables.begin(); item != GPU::vp_set_tables.end(); item++) {
  3.     if (item->vp_table_id == vao) {
  4.       item->vp_head[head].id = buffer;
  5.       item->vp_head[head].offset = offset;
  6.       item->vp_head[head].stride = stride;
  7.       item->vp_head[head].attrib_type = type;
  8.       break;
  9.     }
  10.   }
Advertisement
RAW Paste Data Copied
Advertisement