2
Copyright (c) 2009 NetAllied Systems GmbH
4
This file is part of dae23ds.
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 __DAE23DS_MATERIALWRITER_H__
12
#define __DAE23DS_MATERIALWRITER_H__
14
#include "DAE23dsPrerequisites.h"
15
#include "DAE23dsMaterialsBase.h"
21
class MaterialsWriter : public MaterialsBase
24
Common::Buffer& mBuffer;
29
MaterialsWriter(Writer* writer3ds);
32
virtual ~MaterialsWriter();
34
/** Writes all the material block and fill the Unique ID Material Number map.*/
39
/** Disable default copy ctor. */
40
MaterialsWriter( const MaterialsWriter& pre );
42
/** Disable default assignment operator. */
43
const MaterialsWriter& operator= ( const MaterialsWriter& pre );
45
/** writes one color block using rgb byte .*/
46
bool writeColorBlock(const COLLADAFW::Color& color, ChunkID chunkId);
49
} // namespace DAE23DS
51
#endif // __DAE23DS_MATERIALWRITER_H__