Panda3D
pandagles2.cxx
Go to the documentation of this file.
1 /**
2  * @file pandagles2.cxx
3  * @author rdb
4  * @date 2009-06-08
5  */
6 
7 #include "pandagles2.h"
8 
9 #define OPENGLES_2
10 #include "config_gles2gsg.h"
11 
12 #include "config_egldisplay.h"
13 #include "eglGraphicsPipe.h"
14 
15 /**
16  * Initializes the library. This must be called at least once before any of
17  * the functions or classes in this library can be used. Normally it will be
18  * called by the static initializers and need not be called explicitly, but
19  * special cases exist.
20  */
21 void
25 }
26 
27 /**
28  * Returns the TypeHandle index of the recommended graphics pipe type defined
29  * by this module.
30  */
31 int
33  return eglGraphicsPipe::get_class_type().get_index();
34 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
int get_pipe_type_pandagles2()
Returns the TypeHandle index of the recommended graphics pipe type defined by this module.
Definition: pandagles2.cxx:32
void init_libgles2gsg()
Initializes the library.
get_index
Returns the integer index associated with this TypeHandle.
Definition: typeHandle.h:135
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_libegldisplay()
Initializes the library.
void init_libpandagles2()
Initializes the library.
Definition: pandagles2.cxx:22