Giter Site home page Giter Site logo

microsoft / directxtk12 Goto Github PK

View Code? Open in Web Editor NEW
1.4K 107.0 364.0 7.12 MB

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++

Home Page: https://walbourn.github.io/directx-tool-kit-for-directx-12/

License: MIT License

C++ 79.37% HLSL 5.36% Batchfile 0.66% C 13.03% CMake 1.08% POV-Ray SDL 0.34% PowerShell 0.15%
microsoft directx directx-12 cpp-library graphics xbox uwp directxtk shaders desktop

directxtk12's Introduction

DirectX Logo

DirectX Tool Kit for DirectX 12

http://go.microsoft.com/fwlink/?LinkID=615561

Copyright (c) Microsoft Corporation.

February 21, 2024

This package contains the "DirectX Tool Kit", a collection of helper classes for writing Direct3D 12 C++ code for Universal Windows Platform (UWP) apps for Windows 11 and Windows 10, game titles for Xbox Series X|S and Xbox One, and Win32 desktop applications for Windows 11 and Windows 10.

This code is designed to build with Visual Studio 2019 (16.11), Visual Studio 2022, clang for Windows v12 or later, or MinGW 12.2. Use of the Windows 10 May 2020 Update SDK (19041) or later is required for Visual Studio.

These components are designed to work without requiring any content from the legacy DirectX SDK. For details, see Where is the DirectX SDK?.

Directory Layout

  • Inc\

    • Public Header Files (in the DirectX C++ namespace):

      • Audio.h - low-level audio API using XAudio2 (DirectXTK for Audio public header)
      • BufferHelpers.h - C++ helpers for creating D3D resources from CPU data
      • CommonStates.h - common D3D state combinations
      • DDSTextureLoader.h - light-weight DDS file texture loader
      • DescriptorHeap.h - helper for managing DX12 descriptor heaps
      • DirectXHelpers.h - misc C++ helpers for D3D programming
      • EffectPipelineStateDescription.h - helper for creating PSOs
      • Effects.h - set of built-in shaders for common rendering tasks
      • GamePad.h - gamepad controller helper using Windows.Gaming.Input or GameInput
      • GeometricPrimitive.h - draws basic shapes such as cubes and spheres
      • GraphicsMemory.h - helper for managing dynamic graphics memory allocation
      • Keyboard.h - keyboard state tracking helper
      • Model.h - draws meshes loaded from .CMO, .SDKMESH, or .VBO files
      • Mouse.h - mouse helper
      • PostProcess.h - set of built-in shaders for common post-processing operations
      • PrimitiveBatch.h - simple and efficient way to draw user primitives
      • RenderTargetState.h - helper for communicating render target requirements when creating PSOs
      • ResourceUploadBatch.h - helper for managing texture resource upload to the GPU
      • ScreenGrab.h - light-weight screen shot saver
      • SimpleMath.h - simplified C++ wrapper for DirectXMath
      • SpriteBatch.h - simple & efficient 2D sprite rendering
      • SpriteFont.h - bitmap based text rendering
      • VertexTypes.h - structures for commonly used vertex data formats
      • WICTextureLoader.h - WIC-based image file texture loader
      • XboxDDSTextureLoader.h - Xbox exclusive apps variant of DDSTextureLoader
  • Src\

    • DirectXTK source files and internal implementation headers
  • Audio\

    • DirectXTK for Audio source files and internal implementation headers
  • build\

    • Contains YAML files for the build pipelines along with some miscellaneous build files and scripts.

MakeSpriteFont and XWBTool can be found in the DirectX Tool Kit for DirectX 11

Documentation

Documentation is available on the GitHub wiki.

Notices

All content and source code for this package are subject to the terms of the MIT License.

For the latest version of DirectXTK12, bug reports, etc. please visit the project site on GitHub.

Comparisons to DirectX 11 Version

  • No support for Visual Studio Directed Graph Shader Language (DGSL) effect shaders (i.e. DGSLEffect). CMO files are loaded using BasicEffect or SkinnedEffect materials.

  • VertexTypes does not include VertexPositionNormalTangentColorTexture or VertexPositionNormalTangentColorTextureSkinning which were intended for use with the DGSL pipeline.

  • DirectX Tool Kit for DirectX 11 supports Feature Level 9.x, while DirectX 12 requires Direct3D Feature Level 11.0. There are no expected DirectX 12 drivers for any lower feature level devices.

  • The library assumes it is building for Windows 10 (aka _WIN32_WINNT=0x0A00) so it makes use of XAudio 2.9 and WIC2 as well as DirectX 12.

  • DirectX Tool Kit for Audio, GamePad, Keyboard, Mouse, and SimpleMath are identical to the DirectX 11 version.

Release Notes

  • Starting with the February 2023 release, the Mouse class implementation of relative mouse movement was updated to accumulate changes between calls to GetState. By default, each time you call GetState the deltas are reset which works for scenarios where you use relative movement but only call the method once per frame. If you call it more than once per frame, then add an explicit call to EndOfInputFrame to use an explicit reset model instead.

  • As of the September 2022 release, the library makes use of C++11 inline namespaces for differing types that have the same names in the DirectX 11 and DirectX 12 version of the DirectX Tool Kit. This provides a link-unique name such as DirectX::DX12::SpriteBatch that will appear in linker output messages. In most use cases, however, there is no need to add explicit DX12 namespace resolution in client code.

  • In the June 2021 release or later, the VS 2019 projects of this library build the HLSL shaders with Shader Model 6 via DXC. Since the NuGet still builds using VS 2017, the build-in shaders in that version are currently Shader Model 5.1. See this wiki page for more information. The Microsoft GDK projects always use Shader Model 6.

  • Starting with the June 2020 release, this library makes use of typed enum bitmask flags per the recommendation of the C++ Standard section 17.5.2.1.3 Bitmask types. This may have breaking change impacts to client code:

    • You cannot pass the 0 literal as your flags value. Instead you must make use of the appropriate default enum value: AudioEngine_Default, SoundEffectInstance_Default, ModelLoader_Clockwise, DDS_LOADER_DEFAULT, or WIC_LOADER_DEFAULT.

    • Use the enum type instead of DWORD if building up flags values locally with bitmask operations. For example, WIC_LOADER_FLAGS flags = WIC_LOADER_DEFAULT; if (...) flags |= WIC_LOADER_FORCE_SRGB;

  • The UWP projects and the Win10 classic desktop project include configurations for the ARM64 platform. Building these requires installing the ARM64 toolset.

  • When using clang/LLVM for the ARM64 platform, the Windows 11 SDK (22000) or later is required.

  • The CompileShaders.cmd script must have Windows-style (CRLF) line-endings. If it is changed to Linux-style (LF) line-endings, it can fail to build all the required shaders.

Support

For questions, consider using Stack Overflow with the directxtk tag, or the DirectX Discord Server in the dx12-developers channel.

For bug reports and feature requests, please use GitHub issues for this project.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more informatsion see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Credits

The DirectX Tool Kit for DirectX 11 is the work of Shawn Hargreaves and Chuck Walbourn, with contributions from Aaron Rodriguez Hernandez and Dani Roman.

The DirectX Tool Kit for DirectX 12 is the work of Pete Lewis, Justin Saunders, and Chuck Walbourn based heavily on the DirectX Tool Kit for DirectX 11.

Thanks to Shanon Drone for the SDKMESH file format.

Thanks to Adrian Tsai for the geodesic sphere implementation.

Thanks to Garrett Serack for his help in creating the NuGet packages for DirectX Tool Kit.

Thanks to Pete Lewis and Justin Saunders for the normal-mapped and PBR shaders implementation.

Thanks for Travis Johnson for the mGPU support.

Thanks to Roberto Sonnino for his help with the CMO format and the VS Starter Kit animation.

Thanks to Richie Meyer for their contribution of Xbox PIX custom memory and type allocation tracking events support.

Thanks to Andrew Farrier and Scott Matloff for their on-going help with code reviews.

directxtk12's People

Contributors

drinkertea avatar jicailiu avatar jpetermugaas avatar konai123 avatar mike-copley-atg avatar msftgits avatar pklima avatar trojanfoe avatar walbourn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

directxtk12's Issues

Normal map effects

The current set of 'built-in' shaders does not include support for normal mapped rendering with optional specular map. This is a common technique in modern rendering, so worth adding.

  • NormalMapEffect

Fails to load planar DDS format textures

In DirectX 12, each plane of a planar format is it's own subsurface--in DX 11 all the planes were in the same subsurface. This means the current implementation of DDSTexutreLoader fails for:

  • DXGI_FORMAT_NV12 4:2:0 8-bit
  • DXGI_FORMAT_P010 4:2:0 10-bit
  • DXGI_FORMAT_P016 4:2:0 16-bit
  • DXGI_FORMAT_420_OPAQUE 4:2:0 8-bit
  • DXGI_FORMAT_NV11 4:1:1 8-bit

DirectCompute support

Similar to the IEffect interface and the built-in shaders, we could create a set of DirectCompute shaders as well--which is easier done with DirectX Tool Kit for DX12 since all supported feature levels can do DirectCompute 5.0 or better.

Possible built-in compute shaders:

  • AdaptExposure
  • Ambient occlusion
  • Average luminance
  • Bitonic sort
  • Bloom
  • Blur
  • Depth-of-field
  • FXAA
  • Histogram
  • Motion blur

A number of these fall into the existing PostProcess class, but would do it via DirectCompute instead of a Pixel shader.

Remove AlignedNew.h helper

VS 2015 supports alignas, but does not support aligned new. VS 2017 in the 15.5 update added support for C++17 aligned new, which when present we could use instead of the AlignedNew.h helper.

See this speclet

SpriteBatch should support changing the heap-based sampler

SpriteBatch supports using either a static sampler or a heap-based sampler.

Currently all this is set at SpriteBatch creation time, but the heap-based sampler is dynamic so you should be able to change it without creating a new SpriteBatch.

Adding a second form of Begin like:

void XM_CALLCONV Begin(
    _In_ ID3D12GraphicsCommandList* commandList,
    D3D12_GPU_DESCRIPTOR_HANDLE sampler,
    SpriteSortMode sortMode = SpriteSortMode_Deferred,
    FXMMATRIX transformMatrix = MatrixIdentity);

This would throw a C++ exception if you created the SpriteBatch with the static sampler.

Model support for loading glTF

The glTF open standard is intended as a simple, modern runtime format for models. Model should support loading these, although they will require PBREffect for the material system.

SpriteFont should support UTF-8 strings

There is momentum to adopting UTF-8 Everywhere which currently makes a it a little difficult to work with SpriteFont that uses wchar_t. The library should be updated with DrawString, MeasureString, and MeasureDrawBounds overloads that take char assuming it's UTF-8 (not ASCII or some other codepage).

Creating A Grid

In the Creating a Grid Section a call is made in the TODO section of the Game.cpp Render function that: m_effect->Apply(m_d3dContext.Get());. This results in an error, because "m_d3dContext" is an undeclared identifier.

PostProcess HDR10 support for additional source colorspaces

The shader that performs HDR10 signal preparation assumes the HDR source is using the Rec.709 color primaries when it does the rotation to Rec.2020:

static const float3x3 from709to2020 =
{
    { 0.6274040f, 0.3292820f, 0.0433136f },
    { 0.0690970f, 0.9195400f, 0.0113612f },
    { 0.0163916f, 0.0880132f, 0.8955950f }
};

float3 rgb = mul(from709to2020, color);

The result is 'correct', but can result in less saturated colors. A common hack is to assume DCI-P3 color primaries instead:

static const float3x3 fromP3to2020 =
{
    { 0.753845f, 0.198593f, 0.047562f },
    { 0.0457456f, 0.941777f, 0.0124772f },
    { -0.00121055f, 0.0176041f, 0.983607f }
};

float3 rgb = mul(fromP3to2020, color);

Another option is a slightly expanded custom color space version of Rec.709:

static const float3x3 fromExpanded709to2020 =
{
    { 0.6274040f, 0.3292820f, 0.0433136f },
    { 0.0457456, 0.941777, 0.0124772 },
    { -0.00121055, 0.0176041, 0.983607 }
};

float3 rgb = mul(fromExpanded709to2020, color);

The ToneMapPostProcess class should be updated to support these new options for the final output.

Have the GeometricPrimitive Create* functions implicitly instantiate the GraphicsMemory singleton object

Hello,

I noticed that if I use any of the GeometricPrimitive Create* functions, a GraphicsMemory object needs to be created in order for the GraphicsMemory singleton to be initialized which is required for GeometricPrimitive objects to be created.

I was wondering if it might be possible for the Create functions to implicitly initialize the GraphicsMemory singleton if necessary as they those functions do not consume the separate GraphicsMemory object that needs to be created. This might be useful for apps that only want to use the GeometricPrimitive class.

SkinnedPBREffect

Extend PBREffect to include support for skinned animations.

No need to support velocity buffers for this version of PBREffect.

Model support for PBR SDKMESH variant materials

The current EffectFactory creates standard BasicEffect, NormalMapEffect, etc. material for sdkmesh files since this is the traditional Lambert/Phong material model they use.

This work item is to add a variant of sdkmesh that supports PBR material definitions, as well as to create a PBREffectFactory to use to load models with PBR materials.

Per-pixel lighting support for EnvironmentMapEffect

The original XNA Game Studio built-in EnvironmentMapEffect does not implement per-pixel lighting to fit within the constraints of Pixel Shader Model 2.0. With Direct3D Hardware Feature Level 11.0 minimum, this should be supported.

D3D12_RENDER_PASS_DEPTH_STENCIL_DESC compare operator incorrectly checking StencilBeginningAccess against DepthBeginningAccess

if (a.cpuDescriptor.ptr != b.cpuDescriptor.ptr) return false;
if (!(a.DepthBeginningAccess == b.DepthBeginningAccess)) return false;
if (!(a.StencilBeginningAccess == b.DepthBeginningAccess)) return false;
if (!(a.DepthEndingAccess == b.DepthEndingAccess)) return false;
if (!(a.StencilEndingAccess == b.StencilEndingAccess)) return false;

On line 2726 StencilBeginningAccess is incorrectly compared against DepthBeginningAccess.

GenerateMips missing support for a few formats

GenerateMips (the DirectCompute implementation of auto-gen mips for DirectX 12) currently supports the following DXGI formats:

    case DXGI_FORMAT_R32G32B32A32_FLOAT:
    case DXGI_FORMAT_R32G32B32A32_UINT:
    case DXGI_FORMAT_R32G32B32A32_SINT:
    case DXGI_FORMAT_R16G16B16A16_FLOAT:
    case DXGI_FORMAT_R16G16B16A16_UINT:
    case DXGI_FORMAT_R16G16B16A16_SINT:
    case DXGI_FORMAT_R8G8B8A8_UNORM:
    case DXGI_FORMAT_R8G8B8A8_UINT:
    case DXGI_FORMAT_R8G8B8A8_SINT:
    case DXGI_FORMAT_R32_FLOAT:
    case DXGI_FORMAT_R32_UINT:
    case DXGI_FORMAT_R32_SINT:
    case DXGI_FORMAT_R16_FLOAT:
    case DXGI_FORMAT_R16_UINT:
    case DXGI_FORMAT_R16_SINT:
    case DXGI_FORMAT_R8_UNORM:
    case DXGI_FORMAT_R8_UINT:
    case DXGI_FORMAT_R8_SINT:
    case DXGI_FORMAT_B8G8R8A8_UNORM:
    case DXGI_FORMAT_B8G8R8X8_UNORM:
    case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
    case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
    case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB:

This is a lot of formats, but there are a few more formats that were required for DirectX 11 drivers to implement for D3D11_FORMAT_SUPPORT_MIP_AUTOGEN that are missing from this list:

DXGI_FORMAT_R16G16B16A16_UNORM
DXGI_FORMAT_R16G16B16A16_SNORM
DXGI_FORMAT_R32G32_FLOAT
DXGI_FORMAT_R10G10B10A2_UNORM
DXGI_FORMAT_R11G11B10_FLOAT
DXGI_FORMAT_R8G8B8A8_SNORM
DXGI_FORMAT_R16G16_FLOAT
DXGI_FORMAT_R16G16_UNORM 
DXGI_FORMAT_R16G16_SNORM
DXGI_FORMAT_R8G8_UNORM
DXGI_FORMAT_R8G8_SNORM
DXGI_FORMAT_R16_UNORM
DXGI_FORMAT_R16_SNORM 
DXGI_FORMAT_R8_SNORM
DXGI_FORMAT_A8_UNORM
DXGI_FORMAT_B5G6R5_UNORM

And these were optional for DirectX 11 drivers to support for D3D11_FORMAT_SUPPORT_MIP_AUTOGEN:

DXGI_FORMAT_R32G32B32_FLOAT
DXGI_FORMAT_B5G5R5A1_UNORM 
DXGI_FORMAT_B4G4R4A4_UNORM 

CMO model support

DirectX Tool Kit for DX12 can be updated to support CMO models using the BasicEffect effects.

The Visual Studio DGSL feature isn't designed for DX 12, so I'm not planning to implement DGSLEffect.

Compilation issues with Intel C++ 18 compiler

When building with latest Intel C++ compiler, you get a lot of warnings:

> ------ Build started: Project: DirectXTK12, Configuration: Debug x64 ------
> pch.cpp
> AudioEngine.cpp
> DynamicSoundEffectInstance.cpp
> SoundCommon.cpp
> SoundEffect.cpp
> SoundEffectInstance.cpp
> WaveBank.cpp
> WaveBankReader.cpp
> DirectXTK12\Audio\WaveBankReader.cpp(62): warning #1899: multicharacter character literal (potential portability problem)
>           static const uint32_t SIGNATURE = 'DNBW';
>                                             ^
> 
> DirectXTK12\Audio\WaveBankReader.cpp(63): warning #1899: multicharacter character literal (potential portability problem)
>           static const uint32_t BE_SIGNATURE = 'WBND';
>                                                ^
> 
> DirectXTK12\Audio\WaveBankReader.cpp(350): message #2557: comparison between signed and unsigned operands
>                           if (partial >= (7 * data.CompactFormat.nChannels))
>                                       ^
> 
> WAVFileReader.cpp
> DirectXTK12\Audio\WAVFileReader.cpp(26): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_RIFF_TAG = 'FFIR';
>                                        ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(27): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_FORMAT_TAG = ' tmf';
>                                          ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(28): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_DATA_TAG = 'atad';
>                                        ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(29): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_WAVE_FILE_TAG = 'EVAW';
>                                             ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(30): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_XWMA_FILE_TAG = 'AMWX';
>                                             ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(31): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_DLS_SAMPLE = 'pmsw';
>                                          ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(32): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_MIDI_SAMPLE = 'lpms';
>                                           ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(33): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_XWMA_DPDS = 'sdpd';
>                                         ^
> 
> DirectXTK12\Audio\WAVFileReader.cpp(34): warning #1899: multicharacter character literal (potential portability problem)
>       const uint32_t FOURCC_XMA_SEEK = 'kees';
>                                        ^
> 
> AlphaTestEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> BasicEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> BasicPostProcess.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> CommonStates.cpp
> DDSTextureLoader.cpp
> DebugEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DescriptorHeap.cpp
> DirectXHelpers.cpp
> DualPostProcess.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DualTextureEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> BinaryReader.cpp
> EffectCommon.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> EffectFactory.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Src\EffectFactory.cpp(28): message #3280: declaration hides member "DirectX::EffectFactory::Impl::device" (declared at line 62)
>       Impl(_In_ ID3D12Device* device, _In_ ID3D12DescriptorHeap* textureDescriptors, _In_ ID3D12DescriptorHeap* samplerDescriptors)
>                               ^
> 
> EffectPipelineStateDescription.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> EffectTextureFactory.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Src\EffectTextureFactory.cpp(38): message #3280: declaration hides member "DirectX::EffectTextureFactory::Impl::device" (declared at line 81)
>           _In_ ID3D12Device* device,
>                              ^
> 
> DirectXTK12\Src\EffectTextureFactory.cpp(53): message #3280: declaration hides member "DirectX::EffectTextureFactory::Impl::device" (declared at line 81)
>           _In_ ID3D12Device* device,
>                              ^
> 
> EnvironmentMapEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> GamePad.cpp
> GeometricPrimitive.cpp
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> Geometry.cpp
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> DirectXTK12\Src\Geometry.cpp(1160): message #2557: comparison between signed and unsigned operands
>       for (int i = 0; i < sizeof(TeapotPatches) / sizeof(TeapotPatches[0]); i++)
>                         ^
> 
> Keyboard.cpp
> DirectXTK12\Src\Keyboard.cpp(123): message #3280: declaration hides member "DirectX::Keyboard::pImpl" (declared at line 477 of "DirectXTK12\Inc\Keyboard.h")
>       auto pImpl = Impl::s_keyboard;
>            ^
> 
> LinearAllocator.cpp
> Model.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Src\Model.cpp(30): message #3280: declaration hides member "DirectX::ModelMeshPart::partIndex" (declared at line 49 of "DirectXTK12\Inc\Model.h")
>   ModelMeshPart::ModelMeshPart(uint32_t partIndex) :
>                                         ^
> 
> ModelLoadSDKMESH.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> DirectXTK12\Src\ModelLoadSDKMESH.cpp(447): message #3280: declaration hides member "DirectX::Model::materials" (declared at line 272 of "DirectXTK12\Inc\Model.h")
>       std::vector<ModelMaterialInfo> materials;
>                                      ^
> 
> ModelLoadVBO.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> Mouse.cpp
> DirectXTK12\Src\Mouse.cpp(275): message #3280: declaration hides member "DirectX::Mouse::pImpl" (declared at line 122 of "DirectXTK12\Inc\Mouse.h")
>       auto pImpl = Impl::s_mouse;
>            ^
> 
> GraphicsMemory.cpp
> NormalMapEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Src\NormalMapEffect.cpp(202): message #3280: declaration hides member "DirectX::NormalMapEffect::Impl::specularMap" (declared at line 68)
>   NormalMapEffect::Impl::Impl(_In_ ID3D12Device* device, int effectFlags, const EffectPipelineStateDescription& pipelineDescription, bool specularMap)
>                                                                                                                                           ^
> 
> PBREffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> DirectXTK12\Src\PBREffect.cpp(247): message #2557: comparison between signed and unsigned operands
>           for (int i = 0; i < _countof(textureSRV); i++)
>                             ^
> 
> DirectXTK12\Src\PBREffect.cpp(252): message #2557: comparison between signed and unsigned operands
>           for (int i = 0; i < _countof(textureSampler); i++)
>                             ^
> 
> ResourceUploadBatch.cpp
> DirectXTK12\Src\ResourceUploadBatch.cpp(194): message #3280: declaration hides member "<unnamed>::GenerateMipsResources::rootSignature" (declared at line 155)
>               ComPtr<ID3D12RootSignature> rootSignature;
>                                           ^
> 
> DirectXTK12\Src\ResourceUploadBatch.cpp(204): message #3280: declaration hides member "<unnamed>::GenerateMipsResources::rootSignature" (declared at line 155)
>               _In_ ID3D12RootSignature* rootSignature,
>                                         ^
> 
> ScreenGrab.cpp
> SimpleMath.cpp
> DirectXTK12\Inc\SimpleMath.h(110): message #3280: declaration hides member "DirectX::XMFLOAT2::x" (declared at line 508 of "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\DirectXMath.h")
>               XM_CONSTEXPR explicit Vector2(float x) : XMFLOAT2(x, x) {}
>                                                   ^
> 
> DirectXTK12\Inc\SimpleMath.h(222): message #3280: declaration hides member "DirectX::XMFLOAT3::x" (declared at line 559 of "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\DirectXMath.h")
>               XM_CONSTEXPR explicit Vector3(float x) : XMFLOAT3(x, x, x) {}
>                                                   ^
> 
> DirectXTK12\Inc\SimpleMath.h(341): message #3280: declaration hides member "DirectX::XMFLOAT4::x" (declared at line 613 of "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\DirectXMath.h")
>               XM_CONSTEXPR explicit Vector4(float x) : XMFLOAT4(x, x, x, x) {}
>                                                   ^
> 
> SkinnedEffect.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> SpriteBatch.cpp
> DirectXTK12\Inc\SpriteBatch.h(55): message #3280: declaration hides member "DirectX::SpriteBatchPipelineStateDescription::samplerDescriptor" (declared at line 74)
>               _In_opt_ const D3D12_GPU_DESCRIPTOR_HANDLE* samplerDescriptor = nullptr)
>                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> DirectXTK12\Src\SpriteBatch.cpp(391): message #2557: comparison between signed and unsigned operands
>       for (short i = 0; i < MaxBatchSize * VerticesPerSprite; i += VerticesPerSprite)
>                           ^
> 
> DirectXTK12\Src\SpriteBatch.cpp(919): message #2557: comparison between signed and unsigned operands
>       for (int i = 0; i < VerticesPerSprite; i++)
>                         ^
> 
> PrimitiveBatch.cpp
> SpriteFont.cpp
> DirectXTK12\Inc\SpriteBatch.h(55): message #3280: declaration hides member "DirectX::SpriteBatchPipelineStateDescription::samplerDescriptor" (declared at line 74)
>               _In_opt_ const D3D12_GPU_DESCRIPTOR_HANDLE* samplerDescriptor = nullptr)
>                                                           ^
> 
> DirectXTK12\Src\SpriteFont.cpp(159): message #3280: declaration hides member "DirectX::SpriteFont::Impl::texture" (declared at line 58)
>   SpriteFont::Impl::Impl(D3D12_GPU_DESCRIPTOR_HANDLE texture, XMUINT2 textureSize, Glyph const* glyphs, size_t glyphCount, float lineSpacing)
>                                                      ^
> 
> DirectXTK12\Src\SpriteFont.cpp(159): message #3280: declaration hides member "DirectX::SpriteFont::Impl::textureSize" (declared at line 59)
>   SpriteFont::Impl::Impl(D3D12_GPU_DESCRIPTOR_HANDLE texture, XMUINT2 textureSize, Glyph const* glyphs, size_t glyphCount, float lineSpacing)
>                                                                       ^
> 
> DirectXTK12\Src\SpriteFont.cpp(159): message #3280: declaration hides member "DirectX::SpriteFont::Impl::glyphs" (declared at line 60)
>   SpriteFont::Impl::Impl(D3D12_GPU_DESCRIPTOR_HANDLE texture, XMUINT2 textureSize, Glyph const* glyphs, size_t glyphCount, float lineSpacing)
>                                                                                                 ^
> 
> DirectXTK12\Src\SpriteFont.cpp(159): message #3280: declaration hides member "DirectX::SpriteFont::Impl::lineSpacing" (declared at line 62)
>   SpriteFont::Impl::Impl(D3D12_GPU_DESCRIPTOR_HANDLE texture, XMUINT2 textureSize, Glyph const* glyphs, size_t glyphCount, float lineSpacing)
>                                                                                                                                  ^
> 
> ToneMapPostProcess.cpp
> DirectXTK12\Inc\EffectPipelineStateDescription.h(29): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::inputLayout" (declared at line 82)
>               _In_opt_ const D3D12_INPUT_LAYOUT_DESC* inputLayout,
>                                                       ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(34): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::primitiveTopology" (declared at line 87)
>               D3D12_PRIMITIVE_TOPOLOGY_TYPE primitiveTopology = D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE,
>                                             ^
> 
> DirectXTK12\Inc\EffectPipelineStateDescription.h(35): message #3280: declaration hides member "DirectX::EffectPipelineStateDescription::stripCutValue" (declared at line 88)
>               D3D12_INDEX_BUFFER_STRIP_CUT_VALUE stripCutValue = D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED)
>                                                  ^
> 
> VertexTypes.cpp
> DirectXTK12\Inc\VertexTypes.h(34): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(XMFLOAT3 const& position)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(38): message #3280: declaration hides member "DirectX::VertexPosition::position" (declared at line 43)
>           VertexPosition(FXMVECTOR position)
>                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(64): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(XMFLOAT3 const& position, XMFLOAT4 const& color)
>                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::position" (declared at line 75)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(69): message #3280: declaration hides member "DirectX::VertexPositionColor::color" (declared at line 76)
>           VertexPositionColor(FXMVECTOR position, FXMVECTOR color)
>                                                             ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(97): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate)
>                                                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::position" (declared at line 108)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                           ^
> 
> DirectXTK12\Inc\VertexTypes.h(102): message #3280: declaration hides member "DirectX::VertexPositionTexture::textureCoordinate" (declared at line 109)
>           VertexPositionTexture(FXMVECTOR position, FXMVECTOR textureCoordinate)
>                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(130): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>           VertexPositionDualTexture(XMFLOAT3 const& position, XMFLOAT2 const& textureCoordinate0, XMFLOAT2 const& textureCoordinate1)
>                                                                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(136): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::position" (declared at line 145)
>           VertexPositionDualTexture(FXMVECTOR position,
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(137): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate0" (declared at line 146)
>               FXMVECTOR textureCoordinate0,
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(138): message #3280: declaration hides member "DirectX::VertexPositionDualTexture::textureCoordinate1" (declared at line 147)
>               FXMVECTOR textureCoordinate1)
>                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(168): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(XMFLOAT3 const& position, XMFLOAT3 const& normal)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::position" (declared at line 179)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(173): message #3280: declaration hides member "DirectX::VertexPositionNormal::normal" (declared at line 180)
>           VertexPositionNormal(FXMVECTOR position, FXMVECTOR normal)
>                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(201): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(XMFLOAT3 const& position, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::position" (declared at line 214)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::color" (declared at line 215)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                    ^
> 
> DirectXTK12\Inc\VertexTypes.h(207): message #3280: declaration hides member "DirectX::VertexPositionColorTexture::textureCoordinate" (declared at line 216)
>           VertexPositionColorTexture(FXMVECTOR position, FXMVECTOR color, FXMVECTOR textureCoordinate)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(237): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color)
>                                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::position" (declared at line 250)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                               ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::normal" (declared at line 251)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                   ^
> 
> DirectXTK12\Inc\VertexTypes.h(243): message #3280: declaration hides member "DirectX::VertexPositionNormalColor::color" (declared at line 252)
>           VertexPositionNormalColor(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color)
>                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(273): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT2 const& textureCoordinate)
>                                                                                                         ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::position" (declared at line 286)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                 ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::normal" (declared at line 287)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(279): message #3280: declaration hides member "DirectX::VertexPositionNormalTexture::textureCoordinate" (declared at line 288)
>           VertexPositionNormalTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR textureCoordinate)
>                                                                                       ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                              ^
> 
> DirectXTK12\Inc\VertexTypes.h(309): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(XMFLOAT3 const& position, XMFLOAT3 const& normal, XMFLOAT4 const& color, XMFLOAT2 const& textureCoordinate)
>                                                                                                                                     ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::position" (declared at line 324)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                      ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::normal" (declared at line 325)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                          ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::color" (declared at line 326)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                            ^
> 
> DirectXTK12\Inc\VertexTypes.h(316): message #3280: declaration hides member "DirectX::VertexPositionNormalColorTexture::textureCoordinate" (declared at line 327)
>           VertexPositionNormalColorTexture(FXMVECTOR position, FXMVECTOR normal, FXMVECTOR color, CXMVECTOR textureCoordinate)
>                                                                                                             ^
> 
> WICTextureLoader.cpp
> DirectXTK_Desktop_2015_Win10.vcxproj -> DirectXTK12\Bin\Desktop_2015_Win10\x64\Debug\DirectXTK12.lib
> Done building project "DirectXTK_Desktop_2015_Win10.vcxproj".

Support for compressed vertex normals

If you use the latest SDKMESH exporter to output -compressednormaltype r11g11b10 or ubyten4 compressed normals/tangents/binormals, they don't render correctly with the BasicEffect shaders. They require the vertex shader do a scale and bias (*2 - 1). This requires the following additional permutations of the existing shaders:

VSBasicVertexLighting
VSBasicVertexLightingVc
VSBasicVertexLightingTx
VSBasicVertexLightingTxVc
VSBasicPixelLighting
VSBasicPixelLightingVc
VSBasicPixelLightingTx
VSBasicPixelLightingTxVc

VSEnvMap
VSEnvMapFresnel
VSEnvMapPixelLighting

VSNormalPixelLightingTx
VSNormalPixelLightingTxVc

VSSkinnedVertexLightingOneBone
VSSkinnedVertexLightingTwoBones
VSSkinnedVertexLightingFourBones
VSSkinnedPixelLightingOneBone
VSSkinnedPixelLightingTwoBones
VSSkinnedPixelLightingFourBones

XM_CONSTEXPR broken since 10.0.14393 December commit

Since 10.0.14393 December commit have been unable to compile with errors in files:
c:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\DirectXMath.h
c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h
System:
DxDiag Version: 10.00.14393.0000 64bit Unicode
Visual Studio Community 2015 (14.0.23107.0 D14REL)
Nvidia Driver 376.33
GTX 970

Build state is Debug x64
35 errors, all with XM_CONSTEXPR

From: c:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\DirectXMath.h

#if defined(_MSC_VER) && (_MSC_VER < 1900)
#define XM_CONSTEXPR
#else
#define XM_CONSTEXPR constexpr
#endif

for constexpr, it appears the code is not a constant expression (in first error fDegrees is not constant)
Chuck, This may not be the right team to ask about it but how did you deal with this? Hate to ask, cant figure it out on my own likely means I did something stupid. Kind regards

First 3 for reference:

First error:
Severity Code Description Project File Line
Error (active) constexpr function return is non-constant DirectXTK12 c:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\DirectXMath.h 268
inline XM_CONSTEXPR float XMConvertToRadians(float fDegrees) { return fDegrees * (XM_PI / 180.0f); }
Second error:
Severity Code Description Project File Line
Error (active) constexpr function return is non-constant DirectXTK12 c:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\DirectXMath.h 269
`inline XM_CONSTEXPR float XMConvertToDegrees(float fRadians) { return fRadians * (180.0f / XM_PI); }

Third error: Severity Code Description Project File Line Error C2476 'constexpr' constructor does not initialize all members DirectXTK12 c:\program files (x86)\windows kits\10\include\10.0.14393.0\um\directxpackedvector.h 50 XM_CONSTEXPR XMCOLOR(uint32_t Color) : c(Color) {}`

BasicEffect warnings on Tier 1 hardware when not using texturing

When using the model tutorial, you get the following error on Tier hardware (such as the Surface Pro 3)

D3D12 ERROR: ID3D12CommandList::DrawIndexedInstanced: Root Parameter Index [0] is not set. On a Resource Binding Tier 1 hardware, all descriptor tables declared in the currently set Root Signature (0x000001BE6A00C0B0:'Unnamed ID3D12RootSignature Object') must be populated, even if the shaders do not need the descriptor. [ EXECUTION ERROR #991: COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET]

D3D12: **BREAK** enabled for the previous message, which was: [ ERROR EXECUTION #991: COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET ]

GenerateMips

Auto-gen mipmaps on Windows 10 (14393) for BGRA formats are triggering a SDK debug layer failure.

You can repro this problem using LoadTest.

Can't find d3dx12.h from nuget download

I downloaded this project by NuGet package manager in Visual Studio 2017. (2018.8.18.2)

I tried to use DescriptorHeap so included its header(DescriptorHeap.h) but it occurs an error. (can not find d3dx12.h)

d3dx12.h is in Src folder but the Src folder does not exist in NuGet downloaded package. So can not find it. (it only has library files)

The vs2015 projects don't compile

Are these auto generated?
The project type is set to build a static lib.
Does not link against the import lib d3d12.lib at all.
It doesn't know what winmain is either.

Consider allowing a computer or copy queue to be provided to ResourceUploadBatch

Currently providing a ID3D12CommandQueue* to ResourceUploadBatch::End generates an error if the queue is not of type D3D12_COMMAND_LIST_TYPE_DIRECT;

    void Begin()
    {
        if (mInBeginEndBlock)
            throw std::exception("Can't Begin: already in a Begin-End block.");

        ThrowIfFailed(mDevice->CreateCommandAllocator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_GRAPHICS_PPV_ARGS(mCmdAlloc.ReleaseAndGetAddressOf())));

        SetDebugObjectName(mCmdAlloc.Get(), L"ResourceUploadBatch");

        ThrowIfFailed(mDevice->CreateCommandList(1, D3D12_COMMAND_LIST_TYPE_DIRECT, mCmdAlloc.Get(), nullptr, IID_GRAPHICS_PPV_ARGS(mList.ReleaseAndGetAddressOf())));

        SetDebugObjectName(mList.Get(), L"ResourceUploadBatch");

        mInBeginEndBlock = true;
    }

This can just be changed to

    void Begin(D3D12_COMMAND_LIST_TYPE commandType = D3D12_COMMAND_LIST_TYPE_DIRECT)
    {
        if (mInBeginEndBlock)
            throw std::exception("Can't Begin: already in a Begin-End block.");

        ThrowIfFailed(mDevice->CreateCommandAllocator(commandType, IID_GRAPHICS_PPV_ARGS(mCmdAlloc.ReleaseAndGetAddressOf())));

        SetDebugObjectName(mCmdAlloc.Get(), L"ResourceUploadBatch");

        ThrowIfFailed(mDevice->CreateCommandList(1, commandType, mCmdAlloc.Get(), nullptr, IID_GRAPHICS_PPV_ARGS(mList.ReleaseAndGetAddressOf())));

        SetDebugObjectName(mList.Get(), L"ResourceUploadBatch");

        mInBeginEndBlock = true;
    }

and this is now all fixed. Would be useful

Compilation issues with clang

DirectX Tool Kit won't build with clang, primarily because it relies on the XMVECTOR operator overloads

Note that DirectX Tool Kit assumes you are using C++14, so you should use -std=c++14 with clang along with the newer releases of DirectXMath (3.12 or later)

Drawing Text

Loading a Bitmap Font section is missing:

std::unique_ptrDirectX::SpriteFont m_font;

which needs to be added to Game.h

Screenshot in dds with wrong colors

Hi everyone,

I use the function SaveDDSTextureToFile to save a screenshot but the image generated change de colors.

I don't know if I need other configuration.

I added the file ScreenGrab.h and initialize it with the next code

`#if (_WIN32_WINNT >= 0x0A00 /*_WIN32_WINNT_WIN10*/)
	Microsoft::WRL::Wrappers::RoInitializeWrapper initialize(RO_INIT_MULTITHREADED);
	if (FAILED(initialize))
		Log().Error("Error to initialize DirectX Tool Kit 12 - RO_INIT_MULTITHREADED");
#else
	HRESULT hr = CoInitializeEx(nullptr, COINITBASE_MULTITHREADED);
	if (FAILED(hr))
		Log().Error("Error to initialize DirectX Tool Kit 12 - COINITBASE_MULTITHREADED");
#endif`

It works but the colors are wrong.

Can you help me??

Update the directxtk12 vcpkg package - only the release from dec2016 is available

With vcpkg getting more and more popular, it would be nice if the package there would be kept up to date and maintained.

It makes getting the bits and building them very simple for msft environments nowadays. Here's a listing of what's there today:

directxmesh          feb2018-eb751... DirectXMesh geometry processing library
directxtex           feb2018b         DirectXTex texture processing library
directxtk            feb2018          A collection of helper classes for writing DirectX 11.x code in C++.
directxtk12          dec2016          A collection of helper classes for writing DirectX 12 code in C++.
dx                   1.0.1            A modern C++ library for DirectX programming

Drawing text

I tried to use DirectXTK12 in order to draw text in Directx12.
The text is actually drawn, but the problem is that the memory increases, with each execution of the line: m_spriteBatch->End(); In the Render code, until eventually the program crashes.
Your help will be much appreciated @walbourn .

My code:

Init the font once:

HRESULT CGrDxDevice::InitFonts()
{

	if(m_graphicsMemory==nullptr)//singelton, initializes only in the first time, --------need to be thread safe
		m_graphicsMemory = std::make_unique <DirectX::GraphicsMemory>(m_D3dDevice.Get());
	m_resourceDescriptors = std::make_unique<DescriptorHeap>(m_D3dDevice.Get(),
																D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
																D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE,
																Descriptors::Count);

	ResourceUploadBatch resourceUpload(m_D3dDevice.Get());

	resourceUpload.Begin();

	m_font = std::make_unique<SpriteFont>(m_D3dDevice.Get(), resourceUpload, 
		L"\\Fonts\\myfile.spritefont", //L"myfile.spritefont",
		m_resourceDescriptors->GetCpuHandle(Descriptors::MyFont),
		m_resourceDescriptors->GetGpuHandle(Descriptors::MyFont));


	RenderTargetState rtState(DXGI_FORMAT_B8G8R8A8_UNORM, DXGI_FORMAT_D32_FLOAT);

	SpriteBatchPipelineStateDescription pd(rtState);
	m_spriteBatch = std::make_unique<SpriteBatch>(m_D3dDevice.Get(), resourceUpload, pd);

	auto uploadResourcesFinished = resourceUpload.End(m_CommandQueue.Get());
	uploadResourcesFinished.wait();


	//In Game.cpp, add to the TODO of CreateResources:
	D3D12_VIEWPORT viewport = { 0.0f, 0.0f,
	static_cast<float>(m_ViewPort.Width), static_cast<float>(m_ViewPort.Height),
	D3D12_MIN_DEPTH, D3D12_MAX_DEPTH };
	m_spriteBatch->SetViewport(viewport);

	//m_fontPos.x = viewport.Width / 2.f;
	//m_fontPos.y = viewport.Height / 2.f;
	return S_OK;
}


Render

BOOL CGrDxDevice::DrawD3DFontText(DWORD fontID,const CString& text,float x,float y,float z,D3DCOLOR color,DWORD flags /*= 0*/)
{


	////fonts--------------s
	D3D12_VIEWPORT viewport = { 0.0f, 0.0f,
								static_cast<float>(m_ViewPort.Width), static_cast<float>(m_ViewPort.Height),
								D3D12_MIN_DEPTH, D3D12_MAX_DEPTH };
	
	m_spriteBatch->SetViewport(viewport);


	ID3D12DescriptorHeap* heaps[] = { m_resourceDescriptors->Heap() };
	m_CommandList->SetDescriptorHeaps(_countof(heaps), heaps);

	m_spriteBatch->Begin(m_CommandList.Get());



	DirectX::SimpleMath::Vector2 origin = m_font->MeasureString(text) / 2.f;

	//color
	XMFLOAT4 xm_color(GetRValue(color), GetGValue(color), GetBValue(color), 1);////alpha
	XMVECTOR vec_color= XMLoadFloat4(&xm_color);

	XMVECTOR position = XMVectorSet(x, y, z, 1.0f);
	DirectX::SimpleMath::Vector2 fontPos(0, 0); 

	//DirectX::SimpleMath::Vector2 m_fontPos;
	m_font->DrawString(m_spriteBatch.get(), text,
						fontPos, vec_color/*Colors::White*/, 0.f, origin);


	m_spriteBatch->End();
	////fonts--------------e


	return TRUE;
}

In destructor destroys font's elements :

//fonts----s
m_font.reset();
m_resourceDescriptors.reset();
m_spriteBatch.reset();
m_graphicsMemory.reset();
//fonts----e

The BUG:

image

image

Silently disable DDS_LOADER_MIP_AUTOGEN/WIC_LOADER_MIP_AUTOGEN when format not supported

The silent failure of the ID3D11DeviceContext::GenerateMips was a problem in DX11 because it left the mipchain uninitialized which rendered garbage. The DX11 DDSTextureLoader/WICTextureLoader explicitly checks the format for support via CheckFormatSupport and the D3D11_FORMAT_SUPPORT_MIP_AUTOGEN bit. If it is not supported it creates the texture without any mipchain so you get poor filtering, but at least not garbage.

While I think having ResourceUploadBatch::GenerateMips throw on unsupported formats is a better design decision, I could add logic to the DX12 DDSTextureLoader/WICTextureLoader to silently disable the DDS_/WIC_LOADER_MIP_AUTOGEN flag if it was going to result in an exception in ResoruceUploadBatch due to being an unsupported format so you get the old behavior. Iโ€™d probably add a ResourceUploadBatch::IsSupportedForAutoGen method which would be exposed as well.

FindPageForAlloc out of memory

I'm currently trying to load a large SDKMesh and getting an out of memory throw in LinearAllocator's FindPageForAlloc. Is there any defined maximum size an SDKMesh can be, or is that something which is system dependant?

Retire support for VS 2015

In 2020, I plan to retire support for VS 2015. The following projects will be removed, and the NuGet directxtk12_desktop_2015 package will be deprecated in favor of one built with VS 2017 and/or VS 2019:

DirectXTK_Desktop_2015_Win10
DirectXTK_Windows10_2015
DirectXTK_XboxOneXDK_2015

Please put any requests for continued support for one or more of these here.

PBREffect factory should support materials without textures

I'm loading my model from an SKDMesh file containing several meshes with different materials.
Some of these Materials don't have textures because they are intended for HUD an should use a rendered texture on the fly

PBREffect factory throws an exception in this case causing the application to crash.
I implemented a workaround disabling Texture support for the specific mesh if at least 1 Texture is missing just by checking all the Textureindices against -1 before effect creation.

Would be great to have this on master, and issue only a warning (or debug message) instead of an exception, perhaps with the possiblity to force the exception?

Shader Model 6 tutorial

Need to add a tutorial topic on the basics of SM6 and using DXC.EXE with DirectX Tool Kit for DX12

  • Building SM 6 shaders with CompileShaders.cmd
  • Building SM 6 shaders with Visual Studio HLSL properties
  • Internal vs. external debug symbols

GeometricPrimitive support for tangents

Currently GeometricPrimitive only generates vertices with VertexPositionNormalTexture vertices. It should at a minimum support a way of generating and drawing with tangents as those are required for NormalMapEffect.

BGR GenerateMips wrong on AMD video cards

if generate mips for a BGR format texture (by GenerateMips_TexturePathBGR),
mips will be messy except for MipSlice0.

but generate mips for a RGB format texture (direct by GenerateMips_UnorderedAccessPath),
mips is good.

I don't see any mistakes in the code, I think it might have something to do with hardware.
The graphics card I use is AMD R9 290, drivers use the latest.

Support for mGPU

The DirectX Tool Kit for DirectX12 does not expose the ability to set the node for multi-adapter use, so it only supports the 0th node as it is.

For details, see MSDN

Autogen mips not working on Microsoft Surface X

Repro is using LoadTest for DX 12 using the ARM64 platform. The Windows 95 logo cubes fade to black because those mips are empty.

This device is using Qualcomm(R) Adreno(TM) 680 GPU, driver 26.18.830.0 (10/24/2019)

Support for stereo rendering

@HOLOGRAPHIC and other AR/VR platforms require more complex transformations to handle left/right eye rendering efficiently.

See this pull request for some details on what this would entail.

This would probably entail adding an IEffectStereo interface to the effects, including a geometry shader for multiple render target selection, and shader changes to implement.

SpriteBatch support for 2D arrays

SpriteBatch and it's shaders could be made to leverage a per-sprite array index in addition to texture UVs to be able to pack textures into a 2D texture array.

DirectXTK12 compiling errors on VS 2017 (v141)

The project DirectXTK_Desktop_2017_Win10 won't compile and following errors appeared:

1>------ Build started: Project: DirectXTK12, Configuration: Debug x64 ------
1>pch.cpp
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\client.h(892): error C2187: syntax error: 'identifier' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\client.h(900): error C2187: syntax error: 'identifier' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(629): error C2187: syntax error: ')' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(697): note: see reference to class template instantiation 'Microsoft::WRL::ChainInterfaces<I0,I1,I2,I3,I4,I5,I6,I7,I8,I9>' being compiled
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(710): error C2187: syntax error: ')' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(781): note: see reference to class template instantiation 'Microsoft::WRL::ChainInterfaces<Microsoft::WRL::MixIn<Derived,MixInType,hasImplements>,I1,I2,I3,I4,I5,I6,I7,I8,I9>' being compiled
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(955): error C2187: syntax error: ')' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(982): note: see reference to class template instantiation 'Microsoft::WRL::Details::ImplementsHelper<RuntimeClassFlagsT,Microsoft::WRL::Details::InterfaceList<Microsoft::WRL::ChainInterfaces<C0,C1,C2,C3,C4,C5,C6,C7,C8,C9>,I1>,doStrictCheck,false>' being compiled
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(993): error C2187: syntax error: ')' was unexpected here
1>c:\program files (x86)\windows kits\10\include\10.0.15063.0\winrt\wrl\implements.h(1015): note: see reference to class template instantiation 'Microsoft::WRL::Details::ImplementsHelper<RuntimeClassFlagsT,Microsoft::WRL::Details::InterfaceList<Microsoft::WRL::ChainInterfaces<C0,C1,C2,C3,C4,C5,C6,C7,C8,C9>,Microsoft::WRL::Details::Nil>,doStrictCheck,false>' being compiled
1>Done building project "DirectXTK_Desktop_2017_Win10.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I am using latest Visual Studio Enterprise 2017 15.3.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.