.. _stdlib_texture_import: ================ Import ================ ++++++++++ Formats ++++++++++ We support the following formats: ``.jpg``, ``.png``, ``.bmp``, ``.psd``, ``.tga``. .. note:: The ``.tiff`` format is not supported. However, we plan to add it in the future. ++++++++++ Workflow ++++++++++ .. line-block:: To import textures, simply drag and drop the texture file into the editor's project view. Alternatively, you can use the OS file system to drag assets into your project folder. After your texture file appears in the project folder, the engine will register this file and create a texture asset with ``default import settings``. You can adjust the import settings in the texture asset inspector. ++++++++++ Hotreload ++++++++++ .. line-block:: Our engine supports hot-reload for textures. You can change the content of a texture in third-party editors, and the engine will reload it automatically. .. note:: If you encounter problems with texture hot-reload, please report them to us. Some third-party editors may change the texture file in a different way, or different OSes may send change events differently. ++++++++++++++++++ Limitations ++++++++++++++++++ .. line-block:: For performance reasons, we do not store original texture data on the CPU side. We store texture data only on the GPU side. There is a workaround for this limitation. See :ref:`get_image_content(path: string; cb: block\<(var bitmap : Bitmap):void\>) : bool `.