49 static bool initialized =
false;
55 WebcamVideo::init_type();
56#ifdef HAVE_VIDEO4LINUX
57 WebcamVideoCursorV4L::init_type();
58 WebcamVideoV4L::init_type();
62 WebcamVideoCursorOpenCV::init_type();
63 WebcamVideoOpenCV::init_type();
65 OpenCVTexture::init_type();
66 OpenCVTexture::register_with_read_factory();
This is the preferred interface for loading textures from image files.
static TexturePool * get_global_ptr()
Initializes and/or returns the global pointer to the one TexturePool object in the system.
void register_texture_type(MakeTextureFunc *func, const std::string &extensions)
Records a factory function that makes a Texture object of the appropriate type for one or more partic...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.