From 28871d6bc80a001bc863760c2e2be285f1e69cb3 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sun, 5 Sep 2021 21:33:18 -0700 Subject: [PATCH] Updated Model (markdown) --- Model.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Model.md b/Model.md index e3cba2e..22657f1 100644 --- a/Model.md +++ b/Model.md @@ -186,6 +186,8 @@ 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]]. + # 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.