Panda3D
colladaInput.I
1 // Filename: colladaInput.I
2 // Created by: rdb (23May11)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: ColladaInput::is_vertex_source
18 // Description: Returns true if this has a <vertices> element as
19 // source.
20 ////////////////////////////////////////////////////////////////////
21 bool ColladaInput::
23  return (_semantic == "VERTEX");
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: ColladaInput::get_offset
28 // Description: Returns the offset associated with this input.
29 ////////////////////////////////////////////////////////////////////
30 unsigned int ColladaInput::
31 get_offset() const {
32  return _offset;
33 }
unsigned int get_offset() const
Returns the offset associated with this input.
Definition: colladaInput.I:31
bool is_vertex_source() const
Returns true if this has a <vertices> element as source.
Definition: colladaInput.I:22