mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
tag some more methods BLOCKING
This commit is contained in:
parent
48b3b4dc55
commit
fcbf66df25
@ -41,25 +41,25 @@ class EXPCL_PANDA_GOBJ TexturePool {
|
||||
PUBLISHED:
|
||||
INLINE static bool has_texture(const Filename &filename);
|
||||
INLINE static bool verify_texture(const Filename &filename);
|
||||
INLINE static Texture *load_texture(const Filename &filename,
|
||||
int primary_file_num_channels = 0,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
INLINE static Texture *load_texture(const Filename &filename,
|
||||
const Filename &alpha_filename,
|
||||
int primary_file_num_channels = 0,
|
||||
int alpha_file_channel = 0,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
INLINE static Texture *load_3d_texture(const Filename &filename_pattern,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
INLINE static Texture *load_2d_texture_array(const Filename &filename_pattern,
|
||||
BLOCKING INLINE static Texture *load_texture(const Filename &filename,
|
||||
int primary_file_num_channels = 0,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
INLINE static Texture *load_cube_map(const Filename &filename_pattern,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
BLOCKING INLINE static Texture *load_texture(const Filename &filename,
|
||||
const Filename &alpha_filename,
|
||||
int primary_file_num_channels = 0,
|
||||
int alpha_file_channel = 0,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
BLOCKING INLINE static Texture *load_3d_texture(const Filename &filename_pattern,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
BLOCKING INLINE static Texture *load_2d_texture_array(const Filename &filename_pattern,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
BLOCKING INLINE static Texture *load_cube_map(const Filename &filename_pattern,
|
||||
bool read_mipmaps = false,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
|
||||
INLINE static Texture *get_normalization_cube_map(int size);
|
||||
INLINE static Texture *get_alpha_scale_map();
|
||||
|
@ -49,8 +49,8 @@ class EXPCL_PANDA_PGRAPH ModelPool {
|
||||
PUBLISHED:
|
||||
INLINE static bool has_model(const Filename &filename);
|
||||
INLINE static bool verify_model(const Filename &filename);
|
||||
INLINE static ModelRoot *load_model(const Filename &filename,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
BLOCKING INLINE static ModelRoot *load_model(const Filename &filename,
|
||||
const LoaderOptions &options = LoaderOptions());
|
||||
|
||||
INLINE static void add_model(const Filename &filename, ModelRoot *model);
|
||||
INLINE static void release_model(const Filename &filename);
|
||||
|
@ -32,7 +32,7 @@ class EXPCL_PANDA_PGRAPH ShaderPool {
|
||||
PUBLISHED:
|
||||
INLINE static bool has_shader(const Filename &filename);
|
||||
INLINE static bool verify_shader(const Filename &filename);
|
||||
INLINE static CPT(Shader) load_shader(const Filename &filename);
|
||||
BLOCKING INLINE static CPT(Shader) load_shader(const Filename &filename);
|
||||
INLINE static void add_shader(const Filename &filename, Shader *shader);
|
||||
INLINE static void release_shader(const Filename &filename);
|
||||
INLINE static void release_all_shaders();
|
||||
|
@ -38,7 +38,7 @@ PUBLISHED:
|
||||
|
||||
INLINE static bool has_font(const string &filename);
|
||||
INLINE static bool verify_font(const string &filename);
|
||||
INLINE static TextFont *load_font(const string &filename);
|
||||
BLOCKING INLINE static TextFont *load_font(const string &filename);
|
||||
INLINE static void add_font(const string &filename, TextFont *font);
|
||||
INLINE static void release_font(const string &filename);
|
||||
INLINE static void release_all_fonts();
|
||||
|
Loading…
x
Reference in New Issue
Block a user