Managed Resources
Dagor provides a resource management system built on top of the d3d API. This system handles streaming of texture assets (through integration with the d3d API drivers), resource lifetime management, and indirect access to resources through managed IDs or string names.
- Resource IDs
- General Resource Management
first_managed_d3dres()
next_managed_d3dres()
TexQL
register_managed_res()
is_managed_res_factory_set()
acquire_managed_res()
release_managed_res()
release_managed_res_verified()
acquire_managed_tex()
release_managed_tex()
release_managed_tex_verified()
acquire_managed_buf()
release_managed_buf()
release_managed_buf_verified()
get_managed_res_name()
get_managed_res_id()
get_managed_res_refcount()
get_managed_res_lfu()
get_managed_res_cur_tql()
get_managed_res_max_tql()
get_managed_res_maxreq_lev()
get_managed_res_loaded_lev()
enable_res_mgr_mt()
iterate_all_managed_d3dres()
- Texture Management
first_managed_texture()
next_managed_texture()
register_managed_tex()
is_managed_tex_factory_set()
get_managed_texture_name()
get_managed_texture_id()
get_managed_texture_refcount()
enable_tex_mgr_mt()
add_managed_texture()
add_managed_array_texture()
update_managed_array_texture()
reload_managed_array_textures_for_changed_slice()
evict_managed_tex_id()
check_managed_texture_loaded()
check_all_managed_textures_loaded()
change_managed_texture()
discard_unused_managed_texture()
discard_unused_managed_textures()
mark_managed_tex_lfu()
prefetch_managed_texture()
prefetch_managed_textures()
prefetch_managed_textures_by_textag()
mark_managed_textures_important()
reset_managed_textures_streaming_state()
set_default_tex_factory()
get_default_tex_factory()
get_symbolic_tex_factory()
get_stub_tex_factory()
init_managed_textures_streaming_support()
is_managed_textures_streaming_active()
is_managed_textures_streaming_load_on_demand()
is_managed_texture_incomplete()
load_anisotropy_from_settings()
add_anisotropy_exception()
reset_anisotropy()
prefetch_and_check_managed_texture_loaded()
prefetch_and_check_managed_textures_loaded()
prefetch_and_wait_managed_textures_loaded()
iterate_all_managed_textures()
get_max_managed_texture_id()
is_managed_texture_id_valid()
get_texture_meta_data()
get_sampler_info()
get_texture_separate_sampler()
set_texture_separate_sampler()
set_add_lod_bias_batch()
dgs_tex_quality
dgs_tex_anisotropy
TextureFactory
LODBiasRule