diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-10-07 20:05:34 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-10-07 20:05:34 +0000 |
| commit | 01a6742a3ccd45c8f8cd74f84c9b093c398450fc (patch) | |
| tree | 2014633aca9baae701912aca1d01549dc5cd5e99 /Graphics/GraphicsEngine | |
| parent | Removed D3D11 debug names for Depth-stencil, Rasterizer, Blend states and sam... (diff) | |
| download | DiligentCore-01a6742a3ccd45c8f8cd74f84c9b093c398450fc.tar.gz DiligentCore-01a6742a3ccd45c8f8cd74f84c9b093c398450fc.zip | |
Added TextureFormatInfoExt::SampleCounts. Reworked texture format support queries in D3D11 and D3D12
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 169a0793..2c37c0d5 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1575,7 +1575,8 @@ namespace Diligent /// Indicates if the format can be used to create a cube texture bool TexCubeFmt = false; - /// Indicates if the format can be used to create a multisampled 2D texture - bool SupportsMS = false; + /// A bitmask specifying all the supported sample counts for this texture format. + /// If the format supports n samples, then (SampleCounts & n) != 0 + Uint32 SampleCounts = 0; }; } |
