You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// returns number of distinct mesh packers needed to pack the meshes and a sorted list of meshes by the meshpacker ID they should be packed into, as well as the parameters for the packers
108
103
// `packerParamsOut` should be big enough to fit `std::distance(begin,end)` entries, the return value will tell you how many were actually written
109
104
template<typename Iterator>
@@ -191,21 +186,16 @@ CCPUMeshPackerV1<MDIStructType>::CCPUMeshPackerV1(const SVertexInputParams& preD
191
186
);
192
187
}
193
188
194
-
// TODO: why cant this implementation of `alloc` be common to both CPU and CPU?
195
189
template <typename MDIStructType>
196
190
//`Iterator` may be only an Iterator or pointer to pointer
191
+
//allocation should be happening even if processed mesh buffer doesn't have attribute that was declared in pre defined `SVertexInputParams`, if mesh buffer has any attributes that are not declared in pre defined `SVertexInputParams` then these should be always ignored
192
+
/*
193
+
Requirements for input mesh buffers:
194
+
- attributes bound to the same binding must have identical format
- attributes bound to the same binding must have identical format
203
-
*/
204
-
205
-
//TODO:
206
-
//allocation should be happening even if processed mesh buffer doesn't have attribute that was declared in pre defined `SVertexInputParams`, if mesh buffer has any attributes that are not declared in pre defined `SVertexInputParams` then these should be always ignored
0 commit comments