------------------------------------- AttributeDescriptor::GetVertexSize Checks if required flags are supported
| 111 | // Checks if required flags are supported |
| 112 | // |
| 113 | bool AttributeDescriptor::ValidateFlags(T_VertexFlags const supportedFlags, T_VertexFlags const requiredFlags) |
| 114 | { |
| 115 | for (auto const attributeIt : AttributeDescriptor::s_VertexAttributes) |
| 116 | { |
| 117 | if ((requiredFlags & attributeIt.first) && !(supportedFlags & attributeIt.first)) |
| 118 | { |
| 119 | return false; |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | return true; |
| 124 | } |
| 125 | |
| 126 | //------------------------------------------- |
| 127 | // AttributeDescriptor::DefineAttributeArray |
nothing calls this directly
no outgoing calls
no test coverage detected