MCPcopy Create free account
hub / github.com/defold/defold / VectorTypeIsMatrix

Function VectorTypeIsMatrix

engine/graphics/src/graphics_vertices.cpp:166–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 }
165
166 static inline bool VectorTypeIsMatrix(VertexAttribute::VectorType vector_type)
167 {
168 return vector_type == VertexAttribute::VECTOR_TYPE_MAT2 ||
169 vector_type == VertexAttribute::VECTOR_TYPE_MAT3 ||
170 vector_type == VertexAttribute::VECTOR_TYPE_MAT4;
171 }
172
173 static inline bool SemanticTypeRequiresOneAsW(VertexAttribute::SemanticType semantic_type)
174 {

Callers 2

WriteAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected