Panda3D
 All Classes Functions Variables Enumerations
speedtree_api.h
00001 // Filename: speedtree_api.h
00002 // Created by:  drose (05Oct10)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef SPEEDTREE_API_H
00016 #define SPEEDTREE_API_H
00017 
00018 // This header file should be included first, to pull in any of the
00019 // required headers from the SpeedTree API, needed in this directory.
00020 
00021 #include "speedtree_parameters.h"
00022 #include "Core/Core.h"
00023 #include "Forest/Forest.h"
00024 
00025 #if defined(SPEEDTREE_OPENGL)
00026   #include "Renderers/OpenGL/OpenGLRenderer.h"
00027 #elif defined(SPEEDTREE_DIRECTX9)
00028   #undef Configure
00029   #include "Renderers/DirectX9/DirectX9Renderer.h"
00030 #else
00031   #error Unexpected graphics API.
00032 #endif
00033 
00034 #endif  // SPEEDTREE_API_H
00035 
 All Classes Functions Variables Enumerations