Panda3D
panda
metalibs
pandagles2
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
22
init_libpandagles2
() {
23
init_libgles2gsg
();
24
init_libegldisplay
();
25
}
26
27
/**
28
* Returns the TypeHandle index of the recommended graphics pipe type defined
29
* by this module.
30
*/
31
int
32
get_pipe_type_pandagles2
() {
33
return
eglGraphicsPipe::get_class_type().
get_index
();
34
}
eglGraphicsPipe.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
init_libgles2gsg
void init_libgles2gsg()
Initializes the library.
Definition:
config_gles2gsg.cxx:37
pandagles2.h
TypeHandle::get_index
get_index
Returns the integer index associated with this TypeHandle.
Definition:
typeHandle.h:135
config_gles2gsg.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
init_libpandagles2
void init_libpandagles2()
Initializes the library.
Definition:
pandagles2.cxx:22
config_egldisplay.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
get_pipe_type_pandagles2
int get_pipe_type_pandagles2()
Returns the TypeHandle index of the recommended graphics pipe type defined by this module.
Definition:
pandagles2.cxx:32
init_libegldisplay
void init_libegldisplay()
Initializes the library.
Definition:
config_egldisplay.cxx:40
Generated on Sun Dec 27 2020 13:22:46 for Panda3D by
1.8.20