#include <iostream>

enum Type {
    UNTEXTURED = 0,
    TEXTURED = 2
};

template <Type type>
struct Vertex {
    float pos[3];
    float normal[3];
    float texCoord[type];
};

template <Type type>
class Mesh {
    Vertex<type> array[256];
};

int main() {
    Mesh<TEXTURED> test1;
    std::cout << sizeof(test1) << std::endl;
    
    Mesh<UNTEXTURED> test2;
    std::cout << sizeof(test2) << std::endl;
    
    return 0;
}