summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-08-30 05:49:12 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-08-30 05:49:12 +0000
commitd5647179190ceef5bb450209eb51febf46fc7335 (patch)
treedfc5754a68fa668e6ecc33470cb49a2e93ed4275 /Graphics/GraphicsEngine
parentFixed handling of small compressed texture subresources (diff)
downloadDiligentCore-d5647179190ceef5bb450209eb51febf46fc7335.tar.gz
DiligentCore-d5647179190ceef5bb450209eb51febf46fc7335.zip
Fixed MacOS/iOS build error
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index 4ac6148a..838c817b 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -1400,6 +1400,25 @@ namespace Diligent
Uint32 MaxY = 0; ///< Maximal Y coordinate. Default value is 0
Uint32 MinZ = 0; ///< Minimal Z coordinate. Default value is 0
Uint32 MaxZ = 1; ///< Maximal Z coordinate. Default value is 1
+
+ Box(Uint32 _MinX, Uint32 _MaxX,
+ Uint32 _MinY, Uint32 _MaxY,
+ Uint32 _MinZ, Uint32 _MaxZ) :
+ MinX(_MinX), MaxX(_MaxX),
+ MinY(_MinY), MaxY(_MaxY),
+ MinZ(_MinZ), MaxZ(_MaxZ)
+ {}
+
+ Box(Uint32 _MinX, Uint32 _MaxX,
+ Uint32 _MinY, Uint32 _MaxY) :
+ Box(_MinX, _MaxX, _MinY, _MaxY, 0, 1)
+ {}
+
+ Box(Uint32 _MinX, Uint32 _MaxX) :
+ Box(_MinX, _MaxX, 0, 0, 0, 1)
+ {}
+
+ Box(){}
};