1 #ifndef VTESTBED_GRAPHICS_INDEXBUFFER_HH     2 #define VTESTBED_GRAPHICS_INDEXBUFFER_HH     4 #include <blitz/array.h>     6 #include <vtestbed/geometry/types.hh>     7 #include <vtestbed/graphics/types.hh>    16             using graphics_index_type = UnsignedInt;
    17             using core_index_type = int;
    19             using core_array_type = blitz::Array<face_type,1>;
    26             Buffer{Buffer::TargetHint::ElementArray}
    29             IndexBuffer(core_array_type faces, BufferUsage usage);
    31             void setIndices(core_array_type faces, BufferUsage usage);
    32             void setIndices(
const face_array& faces, BufferUsage usage);
    40 #endif // vim:filetype=cpp