Panda3D

colladaInput.I

00001 // Filename: colladaInput.I
00002 // Created by:  rdb (23May11)
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 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: ColladaInput::is_vertex_source
00018 //  Description: Returns true if this has a <vertices> element as
00019 //               source.
00020 ////////////////////////////////////////////////////////////////////
00021 bool ColladaInput::
00022 is_vertex_source() const {
00023   return (_semantic == "VERTEX");
00024 }
00025 
00026 ////////////////////////////////////////////////////////////////////
00027 //     Function: ColladaInput::get_offset
00028 //  Description: Returns the offset associated with this input.
00029 ////////////////////////////////////////////////////////////////////
00030 unsigned int ColladaInput::
00031 get_offset() const {
00032   return _offset;
00033 }
 All Classes Functions Variables Enumerations