Panda3D
 All Classes Functions Variables Enumerations
movieTypeRegistry.I
1 // Filename: movieTypeRegistry.I
2 // Created by: rdb (24Aug13)
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: MovieTypeRegistry::get_global_ptr
18 // Access: Published, Static
19 // Description: Returns a pointer to the global MovieTypeRegistry
20 // instance.
21 ////////////////////////////////////////////////////////////////////
24  if (_global_ptr == NULL) {
25  _global_ptr = new MovieTypeRegistry;
26  }
27 
28  return _global_ptr;
29 }
This class records the different types of MovieAudio and MovieVideo that are available for loading...
static MovieTypeRegistry * get_global_ptr()
Returns a pointer to the global MovieTypeRegistry instance.