diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-11-09 20:48:49 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-11-09 20:48:49 +0000 |
| commit | 4657c47c66b5556dd95388a7b13d1abb593e1314 (patch) | |
| tree | 774b55b425847b63367c98bf616809d5da0bbcdc /Graphics/GraphicsEngine | |
| parent | Updated method comments in OpenGL backend (diff) | |
| download | DiligentCore-4657c47c66b5556dd95388a7b13d1abb593e1314.tar.gz DiligentCore-4657c47c66b5556dd95388a7b13d1abb593e1314.zip | |
Allowed swap chains without the depth buffer
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index 3ad73227..bc2fe679 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1202,7 +1202,8 @@ namespace Diligent /// Back buffer format. Default value is Diligent::TEX_FORMAT_RGBA8_UNORM_SRGB TEXTURE_FORMAT ColorBufferFormat = TEX_FORMAT_RGBA8_UNORM_SRGB; - /// Depth buffer format. Default value is Diligent::TEX_FORMAT_D32_FLOAT + /// Depth buffer format. Default value is Diligent::TEX_FORMAT_D32_FLOAT. + /// Use Diligent::TEX_FORMAT_UNKNOWN to create the swap chain without depth buffer. TEXTURE_FORMAT DepthBufferFormat = TEX_FORMAT_D32_FLOAT; /// Swap chain usage flags. Default value is Diligent::SWAP_CHAIN_USAGE_RENDER_TARGET |
