2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAStreamWriter.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__
12
#define __COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__
14
#include "COLLADASWPrerequisites.h"
15
#include "COLLADASWExtraTechnique.h"
16
#include "COLLADASWLibrary.h"
17
#include "COLLADASWLight.h"
22
/** Class to simply the creation of @a \<library_lights\> and @a \<lights\>'s*/
23
class LibraryLights : public Library, public BaseExtraTechnique
28
@param streamWriter The stream the @a \<library_lights\> and @a \<lights\>'s
31
LibraryLights ( StreamWriter* streamWriter );
34
virtual ~LibraryLights() {}
37
/** Adds @a \<light\> element. If not already opened, it opens @a \<library_lights\>*/
38
void addLight ( const Light& light );
42
} //namespace COLLADASW
44
#endif //__COLLADASTREAMWRITER_LIBRARY_LIGHTS_H__