3 #include "VertexAttribute.fpp"
4 #include "../util/VectorCore.hpp"
19 VLayoutChans() =
default;
20 VLayoutChans(VAttr chan);
22 VLayoutChans operator|(VAttr chan);
23 bool operator&(VAttr chan);
28 std::bitset<32> m_chans;
31 VLayoutChans operator|(VAttr a, VAttr b);
38 #define X(CHAN_, TYPE_) \
39 template <> struct VAttrHelper<VAttr::CHAN_> { using type = TYPE_; };
53 static constexpr
bool contains() {
61 template <VAttr S>
static constexpr
bool contains() {
70 #include "VertexAttribute.tpp"
Definition: VertexAttribute.hpp:48
Definition: VertexAttribute.hpp:36