Commit e4879315 authored by Robert Menzel's avatar Robert Menzel
Browse files

minor fixes and added VAOFileManager

parent 4b442b5b
* Copyright 2011-2012 Computer Graphics Group RWTH Aachen University. *
* Copyright 2011-2013 Computer Graphics Group RWTH Aachen University. *
* All rights reserved. *
* Distributed under the terms of the MIT License (see LICENSE.TXT). *
#pragma once
* A shortcut to include all manager of OpenGL objects.
#include <ACGL/ACGL.hh>
#include <ACGL/OpenGL/Objects.hh>
#include <ACGL/Resource/NameManager.hh>
#include <ACGL/Resource/FileManager.hh>
namespace ACGL{
namespace OpenGL{
// useful for automatically updating shader programs:
typedef Resource::MultiFileManager<ShaderProgram> ShaderProgramFileManager;
// same for meshes:
typedef Resource::FileManager<VertexArrayObject> VAOFileManager;
// used internally:
typedef Resource::FileManager<Shader> ShaderFileManager;
} // OpenGL
} // ACGL
......@@ -26,5 +26,6 @@
#include <ACGL/OpenGL/Objects/Query.hh>
#include <ACGL/OpenGL/Objects/Shader.hh>
#include <ACGL/OpenGL/Objects/ShaderProgram.hh>
#include <ACGL/OpenGL/Objects/VertexArrayObject.hh>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment