Panda3D
panda
src
movies
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
////////////////////////////////////////////////////////////////////
22
INLINE
MovieTypeRegistry
*
MovieTypeRegistry::
23
get_global_ptr
() {
24
if
(_global_ptr == NULL) {
25
_global_ptr =
new
MovieTypeRegistry
;
26
}
27
28
return
_global_ptr;
29
}
MovieTypeRegistry
This class records the different types of MovieAudio and MovieVideo that are available for loading...
Definition:
movieTypeRegistry.h:29
MovieTypeRegistry::get_global_ptr
static MovieTypeRegistry * get_global_ptr()
Returns a pointer to the global MovieTypeRegistry instance.
Definition:
movieTypeRegistry.I:23
Generated on Wed May 17 2017 23:43:36 for Panda3D by
1.8.13