Updated Model (markdown)

Chuck Walbourn 2021-09-05 21:40:54 -07:00
Родитель 28871d6bc8
Коммит d9dbdb62e1
1 изменённых файлов: 1 добавлений и 1 удалений

@ -186,7 +186,7 @@ effect->SetEnvironmentMap(cubeMap.Get());
auto ship = Model::CreateFromVBO( device, L"ship.vbo", effect );
```
> ``CMO``, ``SDKMESH`` and ``VBO`` are 'uncompressed' formats meaning that all the vertex buffer and index buffer data is the same size on disk as it is in memory. For simple applications, samples, and demos this is perfectly acceptable. For very large models, however, the disk-space usage becomes a concern. For more, see [[Compressing assets]].
> ``CMO``, ``SDKMESH`` and ``VBO`` are 'uncompressed' formats meaning that all the vertex buffer and index buffer data is the same size on disk as it is in memory. For simple applications, samples, and demos this is perfectly acceptable. For very large models, however, the disk-space usage becomes a concern. For more, see [Compressing assets](https://github.com/microsoft/DirectXTK12/wiki/Compressing-assets).
# Threading model
The ModelMeshPart is tied to a device, but not a device context. This means that Model creation/loading is 'free threaded'. Drawing can be done on the immediate context or by a deferred context, but keep in mind device contexts are not 'free threaded'. See [[EffectFactory]] for some additional notes.