Skip to main content

khora_io/asset/decoders/
mod.rs

1// Copyright 2025 eraflo
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! Concrete [`AssetDecoder`] implementations: bytes → typed asset.
16//!
17//! Decoders are pure CPU work; they have no GPU/IO state. They are
18//! registered with the [`AssetService`] via `register_decoder` and dispatched
19//! by asset type name during `load`.
20//!
21//! [`AssetDecoder`]: super::AssetDecoder
22//! [`AssetService`]: super::AssetService
23
24pub mod audio;
25pub mod font;
26pub mod material;
27pub mod mesh;
28pub mod shader;
29pub mod texture;
30
31pub use audio::*;
32pub use font::*;
33pub use material::*;
34pub use mesh::*;
35pub use shader::*;
36pub use texture::*;