22 for (
const std::string &req :
b->as_span()) {
33 if (attrs->
size() >= GPU_MAX_ATTR) {
bool add_as(ForwardKey &&key)
void add_multiple(Span< Key > keys)
bool contains(const Key &key) const
Span< Key > as_span() const
Utilities for rendering attributes.
void drw_attributes_add_request(VectorSet< std::string > *attrs, const StringRef name)
bool drw_attributes_overlap(const VectorSet< std::string > *a, const VectorSet< std::string > *b)
void drw_attributes_merge(VectorSet< std::string > *dst, const VectorSet< std::string > *src)