зеркало из https://github.com/microsoft/DirectXTK.git
Updated Model (markdown)
Родитель
b06a839c87
Коммит
b838fb0297
2
Model.md
2
Model.md
|
@ -14,7 +14,7 @@ Each [[ModelMeshPart]] references an index buffer, a vertex buffer, an input lay
|
|||
#include <Model.h>
|
||||
|
||||
# Initialization
|
||||
Model instances can be loaded from either ``.CMO``, ``.SDKMESH``, or ``.VBO`` files, or from custom file formats. The Model loaders take an [[IEffectFactory|EffectFactory]] instance to facilitate the sharing of Effects and textures between models. The default _EffectFactory_ always returns built-in [[BasicEffect]], [[SkinnedEffect]], or [[DualTextureEffect]] instances. The _DGSLEffectFactory_ can be used with ``.CMO`` files to load Visual Studio Shader Designer (DGSL) shaders through [[DGLSEffect]] instances.
|
||||
Model instances can be loaded from either ``.CMO``, ``.SDKMESH``, or ``.VBO`` files, or from custom file formats. The Model loaders take an [[IEffectFactory|EffectFactory]] instance to facilitate the sharing of Effects and textures between models. The default _EffectFactory_ always returns built-in [[BasicEffect]], [[SkinnedEffect]], or [[DualTextureEffect]] instances. The _DGSLEffectFactory_ can be used with ``.CMO`` files to load Visual Studio Shader Designer (DGSL) shaders through [[DGSLEffect]] instances.
|
||||
|
||||
Visual Studio 2012 or later include a built-in content pipeline that can generate ``.CMO`` files from an Autodesk ``.FBX``, as well as ``.DDS`` texture files from various bitmap image formats, as part of the build process. See the Visual Studio 3D Starter Kit for details ([Windows 8.1](http://aka.ms/vs3dkitwin), [Windows 8.0](http://aka.ms/vs3dkitwin80)).
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче