Byte Engine
  • welcome
  • Design
    • Rendering
      • material_assets
      • Render Models
        • Visibility
    • Resource Management
      • assets
  • Testing
  • References
    • Byte Engine Shader Language
    • JSON Shader Program Description
  • Sample Project
    • Creating Components
    • input
    • Project Setup
  • Setup
    • Environment Setup
    • installation
Powered by GitBook
On this page
  1. Design
  2. Resource Management

assets

Assets are loaded in the following manner:

  • get() is called by a user on the resource manager.

  • The resource manager checks if the resource is already cached/processed.

    • If it is, the resource document is fetched along with it's dependencies which are resolved recursivelly. In the end all resources will be provided to the user is such a manner that they are loaded in the correct order, that is all children will be loaded before their parents.

    • If it is not, the resource manager will invoke all resource handlers so that they can handle the asset if needed.

PreviousResource ManagementNextTesting

Last updated 1 year ago