Skip to content

Commit

Permalink
Asset loader: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Dec 16, 2023
1 parent 5d1dea2 commit 6c9b61a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions AssetLoader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ The following features are currently supported:
The loading functionality is implemented in `Diligent::GLTF::Model` class
that initializes all Diligent Engine objects required to render the model.

The following code snippet shows a basic usage of the loader:

```cpp
GLTF::ModelCreateInfo ModelCI;
ModelCI.FileName = "MyAsset.gltf";

m_Model = std::make_unique<GLTF::Model>(m_pDevice, m_pImmediateContext, ModelCI);
```

The loader is very flexible and provides multiple ways to customize the loading process.
Among others, the following parameters can be specified:

* Texture attribute configuration
* Vertex layout
* Node, Mesh, Primitive, and Material loading callbacks
* GPU resource cache

The loader does have any rendering capabilities. Please see
[Diligent GLTF PBR Renderer](https://github.com/DiligentGraphics/DiligentFX/tree/master/PBR).

Expand Down

0 comments on commit 6c9b61a

Please sign in to comment.