| 78 | } |
| 79 | |
| 80 | std::uint32_t VertexAttribute::GetSize() const |
| 81 | { |
| 82 | const auto& formatAttribs = GetFormatAttribs(format); |
| 83 | if ((formatAttribs.flags & FormatFlags::SupportsVertex) != 0) |
| 84 | return (formatAttribs.bitSize / 8); |
| 85 | else |
| 86 | return 0; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | LLGL_EXPORT bool operator == (const VertexAttribute& lhs, const VertexAttribute& rhs) |
no outgoing calls
no test coverage detected