#include <kanzi/error/legacy_error.hpp>
#include <kanzi/platform/memory.hpp>
#include <kanzi/platform/string_view.hpp>
#include <kanzi/resource/legacy_resource.hpp>
#include <kanzi/object/object.hpp>
#include <system/debug/kzs_error.h>
#include <system/debug/kzs_profiling.h>
#include <system/kzs_types.h>
Classes | |
struct | KzuResourceLoaderThreadContext |
Resource loader thread specific data. More... | |
class | kanzi::Resource |
Represents the base class for all resources. More... | |
Namespaces | |
kanzi | |
Typedefs | |
typedef weak_ptr< Resource > | kanzi::ResourceWeakPtr |
Enumerations | |
enum | KzuResourceLoadState { KZU_RESOURCE_LOAD_STATE_INVALID, KZU_RESOURCE_LOAD_STATE_NOT_LOADED, KZU_RESOURCE_LOAD_STATE_QUEUED_FOR_LOADING, KZU_RESOURCE_LOAD_STATE_LOADED } |
Resource loading state. More... | |
enum | KzuResourceLoadingStrategy { KZU_RESOURCE_LOADING_STRATEGY_DEFAULT, KZU_RESOURCE_LOADING_STRATEGY_MANUAL, KZU_RESOURCE_LOADING_STRATEGY_OPTIMIZE_SPEED, KZU_RESOURCE_LOADING_STRATEGY_OPTIMIZE_MEMORY } |
Resource loading strategy specifies when the resource is loaded and unloaded. More... | |
#define KZU_RESOURCE_PROFILING_MESH_KZB |
Profiling tag for mesh.
#define KZU_RESOURCE_PROFILING_MESH_DEPLOY |
Profiling tag for mesh deploy.
#define KZU_RESOURCE_PROFILING_TEXTURE_2D_KZB |
Profiling tag for 2d texture.
#define KZU_RESOURCE_PROFILING_TEXTURE_2D_DEPLOY |
Profiling tag for 2d texture deploy.
#define KZU_RESOURCE_PROFILING_TEXTURE_CUBE_KZB |
Profiling tag for cubemap texture.
#define KZU_RESOURCE_PROFILING_TEXTURE_CUBE_DEPLOY |
Profiling tag for cubemap texture deploy.
#define KZU_RESOURCE_PROFILING_TEXTURE_RENDER_TARGET_2D_KZB |
Profiling tag for 2d render target texture.
#define KZU_RESOURCE_PROFILING_TEXTURE_RENDER_TARGET_2D_DEPLOY |
Profiling tag for 2d render target texture deploy.
#define KZU_RESOURCE_PROFILING_TEXTURE_RENDER_TARGET_CUBE_KZB |
Profiling tag for cubemap render target texture.
#define KZU_RESOURCE_PROFILING_TEXTURE_RENDER_TARGET_CUBE_DEPLOY |
Profiling tag for cubemap render target texture deploy.
#define KZU_RESOURCE_PROFILING_SHADER_KZB |
Profiling tag for shader.
#define KZU_RESOURCE_PROFILING_SHADER_DEPLOY |
Profiling tag for shader deploy.
#define KZU_RESOURCE_PROFILING_MATERIAL_KZB |
Profiling tag for material.
#define KZU_RESOURCE_PROFILING_STYLE_KZB |
Profiling tag for style.
#define KZU_RESOURCE_PROFILING_STATE_MANAGER_KZB |
Profiling tag for state manager.
#define KZU_RESOURCE_PROFILING_TIMELINE_SEQUENCE_KZB |
Profiling tag for timeline sequence.
#define KZU_RESOURCE_PROFILING_ANIMATION_CLIP_KZB |
Profiling tag for animation clip.
#define KZU_RESOURCE_PROFILING_ANIMATION_KZB |
Profiling tag for animation.
#define KZU_RESOURCE_PROFILING_COMPOSER_KZB |
Profiling tag for composer.
#define KZU_RESOURCE_PROFILING_OBJECT_NODE_KZB |
Profiling tag for object node.
#define KZU_RESOURCE_PROFILING_PREFAB_TEMPLATE_KZB |
Profiling tag for prefab template.
#define KZU_RESOURCE_PROFILING_PREFAB_TEMPLATE_NODE_KZB |
Profiling tag for prefab template.
#define KZU_RESOURCE_PROFILING_GENERIC_FILE_KZB |
Profiling tag for prefab template.
#define KZU_RESOURCE_PROFILING_TRAJECTORY_KZB |
Profiling tag for trajectory.
#define KZU_RESOURCE_PROFILING_OBJECT_SOURCE_KZB |
Profiling tag for object source.
#define KZU_RESOURCE_PROFILING_FONT_KZB |
Profiling tag for font.
enum KzuResourceLoadState |
Resource loading state.
Resource loading strategy specifies when the resource is loaded and unloaded.