for (Texture* t : Textures)
{
if ((t->Stride == Stride) &&
(t->NumVertices == NumVertices) &&
(t->PrimCount == primCount))

this code block :
you need to recover from if else blocks to pull outside data in
This type of data is transferred differently than analytical data. You can send a private message for more information.
This is only valid for this example, if you can post the code you wrote specifically, I might be interested.