root/OpenSceneGraph/trunk/src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp @ 13041

Revision 13041, 1.3 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
Line 
1/*  -*-c++-*-
2 *  Copyright (C) 2009 Cedric Pinson <cedric.pinson@plopbyte.net>
3 *
4 * This library is open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version.  The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * OpenSceneGraph Public License for more details.
13 */
14
15
16#include <osgDB/Input>
17#include <osgDB/Output>
18#include <osgDB/Registry>
19#include <osgDB/ReaderWriter>
20#include <osg/io_utils>
21#include <osgAnimation/UpdateMaterial>
22
23
24using namespace osg;
25using namespace osgDB;
26
27
28bool UpdateMaterial_readLocalData(Object& obj, Input& fr)
29{
30    bool iteratorAdvanced = false;
31    return iteratorAdvanced;
32}
33
34bool UpdateMaterial_writeLocalData(const Object& obj, Output& fw)
35{
36    return true;
37}
38
39RegisterDotOsgWrapperProxy g_UpdateMaterialProxy
40(
41    new osgAnimation::UpdateMaterial,
42    "osgAnimation::UpdateMaterial",
43    "Object StateAttribute::Callback osgAnimation::UpdateMaterial",
44    &UpdateMaterial_readLocalData,
45    &UpdateMaterial_writeLocalData,
46    DotOsgWrapper::READ_AND_WRITE
47);
Note: See TracBrowser for help on using the browser.