30 INLINE
static bool has_shader(
const Filename &filename);
31 INLINE
static bool verify_shader(
const Filename &filename);
32 BLOCKING INLINE
static CPT(
Shader) load_shader(
const Filename &filename);
33 INLINE
static void add_shader(
const Filename &filename,
Shader *shader);
34 INLINE
static void release_shader(
const Filename &filename);
35 INLINE
static void release_all_shaders();
37 INLINE
static int garbage_collect();
39 INLINE
static void list_contents(std::ostream &out);
40 static void write(std::ostream &out);
45 bool ns_has_shader(
const Filename &orig_filename);
48 void ns_release_shader(
const Filename &orig_filename);
49 void ns_release_all_shaders();
50 int ns_garbage_collect();
51 void ns_list_contents(std::ostream &out)
const;
53 void resolve_filename(
Filename &new_filename,
const Filename &orig_filename);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL map.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the preferred interface for loading shaders for the TextNode system.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
This is a standard, non-reentrant mutex, similar to the Mutex class.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.