VertexArrayObjectLoadStore.hh 694 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/***********************************************************************
 * Copyright 2011-2012 Computer Graphics Group RWTH Aachen University. *
 * All rights reserved.                                                *
 * Distributed under the terms of the MIT License (see LICENSE.TXT).   *
 **********************************************************************/

#pragma once

#include <ACGL/ACGL.hh>
#include <ACGL/OpenGL/Objects/VertexArrayObject.hh>

#include <string>

namespace ACGL{
namespace OpenGL{

//! loads geometry data from a file and attaches the loaded array buffer data to a VertexArrayObject
SharedVertexArrayObject loadVertexArrayObject(const std::string& _filename);

}
}