summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-09 20:48:49 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-09 20:48:49 +0000
commit4657c47c66b5556dd95388a7b13d1abb593e1314 (patch)
tree774b55b425847b63367c98bf616809d5da0bbcdc /Graphics/GraphicsEngine
parentUpdated method comments in OpenGL backend (diff)
downloadDiligentCore-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.h3
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