9 std::deque<VertexLayoutDesc> s_layouts;
14 std::lock_guard<std::mutex> lock(s_mutex);
15 s_layouts.push_back(desc);
20 std::lock_guard<std::mutex> lock(s_mutex);
21 if (handle == 0 || handle > s_layouts.size()) {
24 return &s_layouts[handle - 1];
28 std::lock_guard<std::mutex> lock(s_mutex);
Root namespace for everything the engine exposes.
uint32_t VertexFormatHandle