23class EXPCL_PANDA_PUTIL LoaderOptions {
28 LF_report_errors = 0x0002,
29 LF_convert_skeleton = 0x0004,
30 LF_convert_channels = 0x0008,
31 LF_convert_anim = 0x000c,
32 LF_no_disk_cache = 0x0010,
33 LF_no_ram_cache = 0x0020,
35 LF_cache_only = 0x0040,
36 LF_allow_instance = 0x0080,
42 TF_preload_simple = 0x0008,
44 TF_generate_mipmaps = 0x0020,
45 TF_multiview = 0x0040,
48 TF_allow_compression = 0x0200,
51 LoaderOptions(
int flags = LF_search | LF_report_errors);
52 constexpr LoaderOptions(
int flags,
int texture_flags);
54 INLINE
void set_flags(
int flags);
55 INLINE
int get_flags()
const;
56 MAKE_PROPERTY(flags, get_flags, set_flags);
58 INLINE
void set_texture_flags(
int flags);
59 INLINE
int get_texture_flags()
const;
62 MAKE_PROPERTY(texture_flags, get_texture_flags, set_texture_flags);
71 void output(std::ostream &out)
const;
74 void write_flag(std::ostream &out, std::string &sep,
75 const std::string &flag_name,
int flag)
const;
76 void write_texture_flag(std::ostream &out, std::string &sep,
77 const std::string &flag_name,
int flag)
const;
80 int _texture_num_views;
81 AutoTextureScale _auto_texture_scale;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.