Diligent Engine  v.2.4.g
GraphicsTypes.h
Go to the documentation of this file.
1 /*
2  * Copyright 2019-2021 Diligent Graphics LLC
3  * Copyright 2015-2019 Egor Yusov
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * In no event and under no legal theory, whether in tort (including negligence),
18  * contract, or otherwise, unless required by applicable law (such as deliberate
19  * and grossly negligent acts) or agreed to in writing, shall any Contributor be
20  * liable for any damages, including any direct, indirect, special, incidental,
21  * or consequential damages of any character arising as a result of this License or
22  * out of the use or inability to use the software (including but not limited to damages
23  * for loss of goodwill, work stoppage, computer failure or malfunction, or any and
24  * all other commercial damages or losses), even if such Contributor has been advised
25  * of the possibility of such damages.
26  */
27 
28 #pragma once
29 
30 // clang-format off
31 
34 
35 #include "../../../Primitives/interface/BasicTypes.h"
36 #include "../../../Primitives/interface/DebugOutput.h"
37 #include "../../../Primitives/interface/FlagEnum.h"
38 #include "../../../Platforms/interface/NativeWindow.h"
39 #include "APIInfo.h"
40 
43 
44 
50 {
61 };
62 
63 
66 {
68  SHADER_TYPE_VERTEX = 0x0001,
69  SHADER_TYPE_PIXEL = 0x0002,
71  SHADER_TYPE_HULL = 0x0008,
72  SHADER_TYPE_DOMAIN = 0x0010,
75  SHADER_TYPE_MESH = 0x0080,
83 
90 
95 
103 };
105 
106 
108 
116 {
117  BIND_NONE = 0x0,
121  BIND_SHADER_RESOURCE = 0x8,
123  BIND_STREAM_OUTPUT = 0x10,
131  BIND_FLAGS_LAST = 0x400
133 };
135 
136 
144 {
151 
157 
162 
168 
180 
183 };
184 
186 
192 {
196 };
198 
199 
207 {
210  MAP_READ = 0x01,
211 
214  MAP_WRITE = 0x02,
215 
219 };
220 
222 
228 {
229  MAP_FLAG_NONE = 0x000,
230 
237 
242 
248 };
250 
251 
257 {
268 };
269 
271 
275 {
278 
282 
286 
290 
294 
297 };
298 
300 
304 {
307 
311 
315 
318 };
319 
321 
329 {
332 
336 
340 
344 
348 
353 
358 
363 
368 
372 
376 
382 
386 
393 
397 
401 
405 
409 
413 
417 
421 
425 
430 
434 
438 
442 
446 
450 
454 
458 
462 
466 
470 
474 
478 
484 
488 
494 
498 
502 
506 
510 
514 
518 
522 
526 
530 
535 
539 
543 
547 
551 
555 
559 
563 
567 
573 
577 
583 
587 
591 
595 
599 
603 
607 
612 
617 
621 
626 
631 
639 
648 
657 
665 
674 
683 
691 
700 
709 
717 
726 
735 
743 
752 
761 
766 
771 
776 
781 
786 
791 
796 
801 
806 
814 
822 
830 
838 
846 
854 
857 };
858 
860 
865 {
880 };
881 
883 
890 {
893 
897 
901 
906 
911 
918 
921 };
922 
924 
932 {
935 
939 
943 
947 
951 
955 
959 
963 
967 
970 };
971 
973 
976 {
978 
980 
983 };
985 
986 
990 {
993 
997 
1001 
1005 
1009 
1013 
1017 
1021 
1025 
1029 
1033 
1037 
1041 
1045 
1049 
1053 
1057 
1061 
1065 
1069 
1073 
1077 
1081 
1085 
1089 
1093 
1097 
1101 
1105 
1109 
1113 
1117 
1121 
1125 
1129 
1133 
1137 
1141 
1144 };
1145 
1146 
1149 {
1154 
1155 #if DILIGENT_CPP_INTERFACE
1157 
1159  Uint8 _Stencil)noexcept :
1160  Depth {_Depth },
1161  Stencil {_Stencil}
1162  {}
1163 #endif
1164 };
1166 
1169 {
1172 
1175 
1178 
1179 #if DILIGENT_CPP_INTERFACE
1180  bool operator == (const OptimizedClearValue& rhs)const
1181  {
1182  return Format == rhs.Format &&
1183  Color[0] == rhs.Color[0] &&
1184  Color[1] == rhs.Color[1] &&
1185  Color[2] == rhs.Color[2] &&
1186  Color[3] == rhs.Color[3] &&
1187  DepthStencil.Depth == rhs.DepthStencil.Depth &&
1188  DepthStencil.Stencil == rhs.DepthStencil.Stencil;
1189  }
1190 #endif
1191 };
1193 
1194 
1197 {
1199  const Char* Name DEFAULT_INITIALIZER(nullptr);
1200 
1201  // We have to explicitly define constructors because otherwise Apple's clang fails to compile the following legitimate code:
1202  // DeviceObjectAttribs{"Name"}
1203 
1204 #if DILIGENT_CPP_INTERFACE
1206 
1207  explicit DeviceObjectAttribs(const Char* _Name) :
1208  Name{_Name}
1209  {}
1210 #endif
1211 };
1213 
1216 {
1219 
1222 
1225 };
1226 
1227 
1231 {
1235 
1240 
1244 };
1245 
1246 
1250 {
1254 
1258 
1262 
1266 };
1267 
1270 {
1273 
1276 
1279 
1281  Uint32 RefreshRateNumerator DEFAULT_INITIALIZER(0);
1282 
1284  Uint32 RefreshRateDenominator DEFAULT_INITIALIZER(0);
1285 
1288 
1291 };
1293 
1296 {
1299 
1302 
1305 
1308 
1310 };
1312 
1313 
1316 {
1319 
1322 
1325 
1328 
1331 
1334 
1337 
1340 
1343 };
1344 
1345 
1348 {
1351 
1354 
1357 
1361 
1364 
1377 
1379  Uint32 BufferCount DEFAULT_INITIALIZER(2);
1380 
1382  Float32 DefaultDepthValue DEFAULT_INITIALIZER(1.f);
1383 
1385  Uint8 DefaultStencilValue DEFAULT_INITIALIZER(0);
1386 
1389  bool IsPrimary DEFAULT_INITIALIZER(true);
1390 
1391 #if DILIGENT_CPP_INTERFACE
1392  SwapChainDesc() noexcept
1393  {
1394 #if PLATFORM_ANDROID || PLATFORM_IOS
1395  // Use 3 buffers by default on mobile platforms
1396  BufferCount = 3;
1397 #endif
1398  }
1399 
1402  Uint32 _Height,
1403  TEXTURE_FORMAT _ColorBufferFormat,
1404  TEXTURE_FORMAT _DepthBufferFormat,
1405  Uint32 _BufferCount = SwapChainDesc{}.BufferCount,
1406  Float32 _DefaultDepthValue = SwapChainDesc{}.DefaultDepthValue,
1407  Uint8 _DefaultStencilValue = SwapChainDesc{}.DefaultStencilValue,
1408  bool _IsPrimary = SwapChainDesc{}.IsPrimary) :
1409  Width {_Width },
1410  Height {_Height },
1411  ColorBufferFormat {_ColorBufferFormat },
1412  DepthBufferFormat {_DepthBufferFormat },
1413  BufferCount {_BufferCount },
1414  DefaultDepthValue {_DefaultDepthValue },
1415  DefaultStencilValue {_DefaultStencilValue},
1416  IsPrimary {_IsPrimary }
1417  {
1418  }
1419 #endif
1420 };
1422 
1426 {
1428  Bool Fullscreen DEFAULT_INITIALIZER(False);
1429 
1431  Uint32 RefreshRateNumerator DEFAULT_INITIALIZER(0);
1432 
1434  Uint32 RefreshRateDenominator DEFAULT_INITIALIZER(0);
1435 
1438 
1441 };
1443 
1444 
1447 {
1450 
1454 
1459 
1463 
1467 
1471 
1474 };
1475 
1476 
1477 
1480 {
1488 };
1489 
1490 
1493 {
1495  Bool BorderSamplingModeSupported DEFAULT_INITIALIZER(False);
1496 
1498  Bool AnisotropicFilteringSupported DEFAULT_INITIALIZER(False);
1499 
1501  Bool LODBiasSupported DEFAULT_INITIALIZER(False);
1502 };
1503 typedef struct SamplerCaps SamplerCaps;
1504 
1505 
1508 {
1510  Uint32 MaxTexture1DDimension DEFAULT_INITIALIZER(0);
1511 
1513  Uint32 MaxTexture1DArraySlices DEFAULT_INITIALIZER(0);
1514 
1516  Uint32 MaxTexture2DDimension DEFAULT_INITIALIZER(0);
1517 
1519  Uint32 MaxTexture2DArraySlices DEFAULT_INITIALIZER(0);
1520 
1522  Uint32 MaxTexture3DDimension DEFAULT_INITIALIZER(0);
1523 
1525  Uint32 MaxTextureCubeDimension DEFAULT_INITIALIZER(0);
1526 
1528  Bool Texture2DMSSupported DEFAULT_INITIALIZER(False);
1529 
1531  Bool Texture2DMSArraySupported DEFAULT_INITIALIZER(False);
1532 
1534  Bool TextureViewSupported DEFAULT_INITIALIZER(False);
1535 
1537  Bool CubemapArraysSupported DEFAULT_INITIALIZER(False);
1538 };
1539 typedef struct TextureCaps TextureCaps;
1540 
1541 
1544 {
1547 
1549 
1554 
1556 
1562 };
1563 
1564 
1567 {
1569 
1581 
1583 
1592 
1595 
1598 
1601 
1604 
1607 
1610 
1613 
1616 
1619 
1622 
1625 
1628 
1631 
1634 
1637 
1640 
1643 
1646 
1649 
1652 
1655 
1659 
1663 
1666 
1673 
1677 
1680 
1683 
1686 
1690 
1693 
1700 
1703 
1704 #if DILIGENT_CPP_INTERFACE
1705  DeviceFeatures() noexcept {}
1706 
1707  explicit DeviceFeatures(DEVICE_FEATURE_STATE State) noexcept :
1708  SeparablePrograms {State},
1709  ShaderResourceQueries {State},
1710  IndirectRendering {State},
1711  WireframeFill {State},
1712  MultithreadedResourceCreation {State},
1713  ComputeShaders {State},
1714  GeometryShaders {State},
1715  Tessellation {State},
1716  MeshShaders {State},
1717  RayTracing {State},
1718  RayTracing2 {State},
1719  BindlessResources {State},
1720  OcclusionQueries {State},
1721  BinaryOcclusionQueries {State},
1722  TimestampQueries {State},
1723  PipelineStatisticsQueries {State},
1724  DurationQueries {State},
1725  DepthBiasClamp {State},
1726  DepthClamp {State},
1727  IndependentBlend {State},
1728  DualSourceBlend {State},
1729  MultiViewport {State},
1730  TextureCompressionBC {State},
1731  VertexPipelineUAVWritesAndAtomics {State},
1732  PixelUAVWritesAndAtomics {State},
1733  TextureUAVExtendedFormats {State},
1734  ShaderFloat16 {State},
1735  ResourceBuffer16BitAccess {State},
1736  UniformBuffer16BitAccess {State},
1737  ShaderInputOutput16 {State},
1738  ShaderInt8 {State},
1739  ResourceBuffer8BitAccess {State},
1740  UniformBuffer8BitAccess {State},
1741  ShaderResourceRuntimeArray {State},
1742  WaveOp {State}
1743  {
1744 # if defined(_MSC_VER) && defined(_WIN64)
1745  static_assert(sizeof(*this) == 35, "Did you add a new feature to DeviceFeatures? Please handle its status above.");
1746 # endif
1747  }
1748 #endif
1749 };
1751 
1752 
1755 {
1758 
1761 
1764 
1767 
1770 
1773 
1776 
1779 };
1780 
1783 {
1785  char Description[128] DEFAULT_INITIALIZER({});
1786 
1789 
1792 
1795 
1798 
1801 
1803 
1809  Uint64 DeviceLocalMemory DEFAULT_INITIALIZER(0);
1810 
1811 
1813 
1816  Uint64 HostVisibileMemory DEFAULT_INITIALIZER(0);
1817 
1818 
1820 
1824  Uint64 UnifiedMemory DEFAULT_INITIALIZER(0);
1825 
1828 };
1830 
1831 
1834 {
1837 
1843 
1847 
1850 
1853 
1856 
1858 
1862 
1863 #if DILIGENT_CPP_INTERFACE
1864  bool IsGLDevice()const
1865  {
1866  return DevType == RENDER_DEVICE_TYPE_GL || DevType == RENDER_DEVICE_TYPE_GLES;
1867  }
1868  bool IsD3DDevice()const
1869  {
1870  return DevType == RENDER_DEVICE_TYPE_D3D11 || DevType == RENDER_DEVICE_TYPE_D3D12;
1871  }
1872  bool IsVulkanDevice()const
1873  {
1874  return DevType == RENDER_DEVICE_TYPE_VULKAN;
1875  }
1876  bool IsMetalDevice()const
1877  {
1878  return DevType == RENDER_DEVICE_TYPE_METAL;
1879  }
1880 
1881  struct NDCAttribs
1882  {
1883  const float MinZ; // Minimum z value of normalized device coordinate space
1884  const float ZtoDepthScale; // NDC z to depth scale
1885  const float YtoVScale; // Scale to transform NDC y coordinate to texture V coordinate
1886 
1887  float GetZtoDepthBias() const
1888  {
1889  // Returns ZtoDepthBias such that given NDC z coordinate, depth value can be
1890  // computed as follows:
1891  // d = z * ZtoDepthScale + ZtoDepthBias
1892  return -MinZ * ZtoDepthScale;
1893  }
1894  };
1895 
1897  {
1898  if (IsVulkanDevice())
1899  {
1900  // Note that Vulkan itself does not invert Y coordinate when transforming
1901  // normalized device Y to window space. However, we use negative viewport
1902  // height which achieves the same effect as in D3D, thererfore we need to
1903  // invert y (see comments in DeviceContextVkImpl::CommitViewports() for details)
1904  static constexpr const NDCAttribs NDCAttribsVk {0.0f, 1.0f, -0.5f};
1905  return NDCAttribsVk;
1906  }
1907  else if (IsD3DDevice())
1908  {
1909  static constexpr const NDCAttribs NDCAttribsD3D {0.0f, 1.0f, -0.5f};
1910  return NDCAttribsD3D;
1911  }
1912  else if (IsGLDevice())
1913  {
1914  static constexpr const NDCAttribs NDCAttribsGL {-1.0f, 0.5f, 0.5f};
1915  return NDCAttribsGL;
1916  }
1917  else
1918  {
1919  static constexpr const NDCAttribs NDCAttribsDefault {0.0f, 1.0f, 0.5f};
1920  return NDCAttribsDefault;
1921  }
1922  }
1923 #endif
1924 };
1925 typedef struct DeviceCaps DeviceCaps;
1926 
1927 
1933 {
1944 };
1946 
1947 
1950 {
1953 
1959 
1962 
1965 };
1967 
1968 
1971 {
1973  Uint32 MaxRayTracingRecursionDepth DEFAULT_INITIALIZER(0);
1974 
1977 };
1979 
1980 
1983 {
1986 
1992  Uint32 NumDeferredContexts DEFAULT_INITIALIZER(0);
1993 
1995 
2004 
2007  struct IMemoryAllocator* pRawMemAllocator DEFAULT_INITIALIZER(nullptr);
2008 
2011 };
2013 
2016 
2018  NativeWindow Window;
2019 
2021 
2025  bool CreateDebugContext DEFAULT_INITIALIZER(false);
2026 
2028 
2030  bool ForceNonSeparablePrograms DEFAULT_INITIALIZER(false);
2031 };
2033 
2034 
2039 {
2042 
2045 
2049 
2054 };
2056 
2059 {
2062 
2065 
2068 
2071 
2074 
2077 };
2078 
2079 static const Uint32 DEFAULT_ADAPTER_ID = 0xFFFFFFFFU;
2080 
2083 
2085  Uint32 AdapterId DEFAULT_INITIALIZER(DEFAULT_ADAPTER_ID);
2086 
2089 
2094 };
2096 
2097 
2100 
2102  const char* D3D12DllName DEFAULT_INITIALIZER("d3d12.dll");
2103 
2105  Uint32 AdapterId DEFAULT_INITIALIZER(DEFAULT_ADAPTER_ID);
2106 
2109 
2111  bool EnableDebugLayer DEFAULT_INITIALIZER(false);
2112 
2117  bool EnableGPUBasedValidation DEFAULT_INITIALIZER(false);
2118 
2121  bool BreakOnError DEFAULT_INITIALIZER(false);
2122 
2125  bool BreakOnCorruption DEFAULT_INITIALIZER(true);
2126 
2128  Uint32 CPUDescriptorHeapAllocationSize[4]
2129 #if DILIGENT_CPP_INTERFACE
2130  {
2131  8192, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV
2132  2048, // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
2133  1024, // D3D12_DESCRIPTOR_HEAP_TYPE_RTV
2134  1024 // D3D12_DESCRIPTOR_HEAP_TYPE_DSV
2135  }
2136 #endif
2137  ;
2138 
2149  Uint32 GPUDescriptorHeapSize[2]
2150 #if DILIGENT_CPP_INTERFACE
2151  {
2152  16384, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV
2153  1024 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
2154  }
2155 #endif
2156  ;
2157 
2172  Uint32 GPUDescriptorHeapDynamicSize[2]
2173 #if DILIGENT_CPP_INTERFACE
2174  {
2175  8192, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV
2176  1024 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
2177  }
2178 #endif
2179  ;
2180 
2190  Uint32 DynamicDescriptorAllocationChunkSize[2]
2191 #if DILIGENT_CPP_INTERFACE
2192  {
2193  256, // D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV
2194  32 // D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
2195  }
2196 #endif
2197  ;
2198 
2205  Uint32 DynamicHeapPageSize DEFAULT_INITIALIZER(1 << 20);
2206 
2209  Uint32 NumDynamicHeapPagesToReserve DEFAULT_INITIALIZER(1);
2210 
2212  Uint32 QueryPoolSizes[QUERY_TYPE_NUM_TYPES]
2213 #if DILIGENT_CPP_INTERFACE
2214  {
2215  0, // Ignored
2216  128, // QUERY_TYPE_OCCLUSION
2217  128, // QUERY_TYPE_BINARY_OCCLUSION
2218  512, // QUERY_TYPE_TIMESTAMP
2219  128, // QUERY_TYPE_PIPELINE_STATISTICS
2220  256, // QUERY_TYPE_DURATION
2221  }
2222 #endif
2223  ;
2224 
2227  const char* pDxCompilerPath DEFAULT_INITIALIZER(nullptr);
2228 };
2230 
2231 
2234 {
2235  Uint32 MaxDescriptorSets DEFAULT_INITIALIZER(0);
2236  Uint32 NumSeparateSamplerDescriptors DEFAULT_INITIALIZER(0);
2237  Uint32 NumCombinedSamplerDescriptors DEFAULT_INITIALIZER(0);
2238  Uint32 NumSampledImageDescriptors DEFAULT_INITIALIZER(0);
2239  Uint32 NumStorageImageDescriptors DEFAULT_INITIALIZER(0);
2240  Uint32 NumUniformBufferDescriptors DEFAULT_INITIALIZER(0);
2241  Uint32 NumStorageBufferDescriptors DEFAULT_INITIALIZER(0);
2242  Uint32 NumUniformTexelBufferDescriptors DEFAULT_INITIALIZER(0);
2243  Uint32 NumStorageTexelBufferDescriptors DEFAULT_INITIALIZER(0);
2244  Uint32 NumInputAttachmentDescriptors DEFAULT_INITIALIZER(0);
2245  Uint32 NumAccelStructDescriptors DEFAULT_INITIALIZER(0);
2246 
2247 #if DILIGENT_CPP_INTERFACE
2249 
2250  VulkanDescriptorPoolSize(Uint32 _MaxDescriptorSets,
2251  Uint32 _NumSeparateSamplerDescriptors,
2252  Uint32 _NumCombinedSamplerDescriptors,
2253  Uint32 _NumSampledImageDescriptors,
2254  Uint32 _NumStorageImageDescriptors,
2255  Uint32 _NumUniformBufferDescriptors,
2256  Uint32 _NumStorageBufferDescriptors,
2257  Uint32 _NumUniformTexelBufferDescriptors,
2258  Uint32 _NumStorageTexelBufferDescriptors,
2259  Uint32 _NumInputAttachmentDescriptors,
2260  Uint32 _NumAccelStructDescriptors)noexcept :
2261  MaxDescriptorSets {_MaxDescriptorSets },
2262  NumSeparateSamplerDescriptors {_NumSeparateSamplerDescriptors },
2263  NumCombinedSamplerDescriptors {_NumCombinedSamplerDescriptors },
2264  NumSampledImageDescriptors {_NumSampledImageDescriptors },
2265  NumStorageImageDescriptors {_NumStorageImageDescriptors },
2266  NumUniformBufferDescriptors {_NumUniformBufferDescriptors },
2267  NumStorageBufferDescriptors {_NumStorageBufferDescriptors },
2268  NumUniformTexelBufferDescriptors{_NumUniformTexelBufferDescriptors},
2269  NumStorageTexelBufferDescriptors{_NumStorageTexelBufferDescriptors},
2270  NumInputAttachmentDescriptors {_NumInputAttachmentDescriptors },
2271  NumAccelStructDescriptors {_NumAccelStructDescriptors }
2272  {
2273  // On clang aggregate initialization fails to compile if
2274  // structure members have default initializers
2275  }
2276 #endif
2277 };
2279 
2280 
2283 
2285  Uint32 AdapterId DEFAULT_INITIALIZER(DEFAULT_ADAPTER_ID);
2286 
2288  bool EnableValidation DEFAULT_INITIALIZER(false);
2289 
2291  Uint32 GlobalExtensionCount DEFAULT_INITIALIZER(0);
2292 
2294  const char* const* ppGlobalExtensionNames DEFAULT_INITIALIZER(nullptr);
2295 
2297  void* pVkAllocator DEFAULT_INITIALIZER(nullptr);
2298 
2302  VulkanDescriptorPoolSize MainDescriptorPoolSize
2303 #if DILIGENT_CPP_INTERFACE
2304  //Max SepSm CmbSm SmpImg StrImg UB SB UTxB StTxB InptAtt AccelSt
2305  {8192, 1024, 8192, 8192, 1024, 4096, 4096, 1024, 1024, 256, 256}
2306 #endif
2307  ;
2308 
2313 
2314  VulkanDescriptorPoolSize DynamicDescriptorPoolSize
2315 #if DILIGENT_CPP_INTERFACE
2316  //Max SepSm CmbSm SmpImg StrImg UB SB UTxB StTxB InptAtt AccelSt
2317  {2048, 256, 2048, 2048, 256, 1024, 1024, 256, 256, 64, 64}
2318 #endif
2319  ;
2320 
2322  Uint32 DeviceLocalMemoryPageSize DEFAULT_INITIALIZER(16 << 20);
2323 
2325  Uint32 HostVisibleMemoryPageSize DEFAULT_INITIALIZER(16 << 20);
2326 
2330  Uint32 DeviceLocalMemoryReserveSize DEFAULT_INITIALIZER(256 << 20);
2331 
2335  Uint32 HostVisibleMemoryReserveSize DEFAULT_INITIALIZER(256 << 20);
2336 
2342  Uint32 UploadHeapPageSize DEFAULT_INITIALIZER(1 << 20);
2343 
2346  Uint32 DynamicHeapSize DEFAULT_INITIALIZER(8 << 20);
2347 
2350  Uint32 DynamicHeapPageSize DEFAULT_INITIALIZER(256 << 10);
2351 
2353  Uint32 QueryPoolSizes[QUERY_TYPE_NUM_TYPES]
2354 #if DILIGENT_CPP_INTERFACE
2355  {
2356  0, // Ignored
2357  128, // QUERY_TYPE_OCCLUSION
2358  128, // QUERY_TYPE_BINARY_OCCLUSION
2359  512, // QUERY_TYPE_TIMESTAMP
2360  128, // QUERY_TYPE_PIPELINE_STATISTICS
2361  256 // QUERY_TYPE_DURATION
2362  }
2363 #endif
2364  ;
2365 
2368  const char* pDxCompilerPath DEFAULT_INITIALIZER(nullptr);
2369 };
2371 
2372 
2375 
2382  Uint32 DynamicHeapPageSize DEFAULT_INITIALIZER(4 << 20);
2383 
2384 
2386 
2401  bool UseAutoreleasePoolsInContexts DEFAULT_INITIALIZER(true);
2402 };
2404 
2405 
2407 struct Box
2408 {
2415 
2416 #if DILIGENT_CPP_INTERFACE
2417  Box(Uint32 _MinX, Uint32 _MaxX,
2418  Uint32 _MinY, Uint32 _MaxY,
2419  Uint32 _MinZ, Uint32 _MaxZ) noexcept:
2420  MinX {_MinX},
2421  MaxX {_MaxX},
2422  MinY {_MinY},
2423  MaxY {_MaxY},
2424  MinZ {_MinZ},
2425  MaxZ {_MaxZ}
2426  {}
2427 
2428  Box(Uint32 _MinX, Uint32 _MaxX,
2429  Uint32 _MinY, Uint32 _MaxY) noexcept:
2430  Box{_MinX, _MaxX, _MinY, _MaxY, 0, 1}
2431  {}
2432 
2433  Box(Uint32 _MinX, Uint32 _MaxX) noexcept:
2434  Box{_MinX, _MaxX, 0, 0, 0, 1}
2435  {}
2436 
2437  Box() noexcept {}
2438 #endif
2439 };
2440 typedef struct Box Box;
2441 
2442 
2445 {
2448 
2451 
2454 
2457 
2460 
2463 
2466 
2469 
2472 
2475 
2478 };
2479 
2484 {
2487  const Char* Name DEFAULT_INITIALIZER("TEX_FORMAT_UNKNOWN");
2488 
2491 
2494  Uint8 ComponentSize DEFAULT_INITIALIZER(0);
2495 
2498 
2501 
2503  bool IsTypeless DEFAULT_INITIALIZER(false);
2504 
2507 
2509  Uint8 BlockHeight DEFAULT_INITIALIZER(0);
2510 
2511 #if DILIGENT_CPP_INTERFACE
2512  Uint32 GetElementSize() const
2515  {
2516  return Uint32{ComponentSize} * (ComponentType != COMPONENT_TYPE_COMPRESSED ? Uint32{NumComponents} : Uint32{1});
2517  }
2518 
2521  TEXTURE_FORMAT _Format,
2522  Uint8 _ComponentSize,
2523  Uint8 _NumComponents,
2524  COMPONENT_TYPE _ComponentType,
2525  bool _IsTypeless,
2526  Uint8 _BlockWidth,
2527  Uint8 _BlockHeight)noexcept :
2528  Name {_Name },
2529  Format {_Format },
2530  ComponentSize{_ComponentSize},
2531  NumComponents{_NumComponents},
2532  ComponentType{_ComponentType},
2533  IsTypeless {_IsTypeless },
2534  BlockWidth {_BlockWidth },
2535  BlockHeight {_BlockHeight }
2536  {
2537  }
2538 
2540 #endif
2541 };
2543 
2544 
2546 
2549 
2551  bool Supported DEFAULT_INITIALIZER(false);
2552 
2553  // Explicitly pad the structure to 8-byte boundary
2554  bool Padding[7];
2555 };
2557 
2558 
2561 {
2564 
2567 
2570 
2573 
2576 
2579 
2582 
2585 
2588 };
2590 
2591 
2593 
2596 
2599 
2602 
2610 
2613  Uint32 SampleCounts DEFAULT_INITIALIZER(0);
2614 
2616  Bool Filterable DEFAULT_INITIALIZER(false);
2617 };
2619 
2620 
2622 
2626 {
2629 
2632 
2635 
2638 
2641 
2644 
2647 
2650 
2653 
2659 
2665 
2671 
2674 
2678 
2681 
2686 
2689 
2693 
2696 
2699 
2702 
2705 
2708 
2713 };
2715 
2716 
2717 
2722 {
2724  ACCESS_FLAG_NONE = 0x00000000,
2725 
2729 
2732 
2735 
2738 
2741 
2744 
2747 
2751 
2755 
2759 
2763 
2765  ACCESS_FLAG_COPY_SRC = 0x00000800,
2766 
2768  ACCESS_FLAG_COPY_DST = 0x00001000,
2769 
2773 
2777 
2782 
2785  // flags that are valid where it is used.
2787 
2790 
2793 
2796 
2800 
2804 
2808  ACCESS_FLAG_DEFAULT = 0x80000000
2809 };
2811 
2812 
2815 {
2818 
2821 
2824 
2827 
2830 
2833 
2836 
2839 
2842 
2845 
2848 
2851 
2854 
2857 
2860 
2863 
2866 
2869 
2873 
2876 
2879 
2881 
2888 };
2890 
2893 {
2896 
2902 
2908 };
2909 
2910 DILIGENT_END_NAMESPACE // namespace Diligent
Diligent::MAP_FLAGS
MAP_FLAGS
Special map flags.
Definition: GraphicsTypes.h:227
Diligent::SWAP_CHAIN_USAGE_RENDER_TARGET
@ SWAP_CHAIN_USAGE_RENDER_TARGET
Swap chain can be used as render target ouput.
Definition: GraphicsTypes.h:1301
Diligent::DIRECT3D_FEATURE_LEVEL_11_1
@ DIRECT3D_FEATURE_LEVEL_11_1
Feature level 11.1.
Definition: GraphicsTypes.h:2070
Diligent::RESOURCE_DIM_TEX_3D
@ RESOURCE_DIM_TEX_3D
Three-dimensional texture.
Definition: GraphicsTypes.h:264
Diligent::SHADER_TYPE_AMPLIFICATION
@ SHADER_TYPE_AMPLIFICATION
Amplification (task) shader.
Definition: GraphicsTypes.h:74
Diligent::TEXTURE_VIEW_RENDER_TARGET
@ TEXTURE_VIEW_RENDER_TARGET
A texture view will define a render target view that will be used as the target for rendering operati...
Definition: GraphicsTypes.h:285
Diligent::BIND_FLAGS_LAST
@ BIND_FLAGS_LAST
Definition: GraphicsTypes.h:132
Diligent::TEX_FORMAT_D24_UNORM_S8_UINT
@ TEX_FORMAT_D24_UNORM_S8_UINT
Two-component 32-bit format with 24 bits for unsigned-normalized-integer depth and 8 bits for stencil...
Definition: GraphicsTypes.h:525
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_2D
@ RESOURCE_DIMENSION_SUPPORT_TEX_2D
Indicates if the device supports 2D textures for a particular texture format.
Definition: GraphicsTypes.h:2575
Diligent::USAGE_STAGING
@ USAGE_STAGING
A resource that facilitates transferring data between GPU and CPU. D3D11 Counterpart: D3D11_USAGE_S...
Definition: GraphicsTypes.h:167
Diligent::PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 25 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1112
Diligent::RESOURCE_DIM_TEX_1D
@ RESOURCE_DIM_TEX_1D
One-dimensional texture.
Definition: GraphicsTypes.h:260
Diligent::RESOURCE_DIM_TEX_1D_ARRAY
@ RESOURCE_DIM_TEX_1D_ARRAY
One-dimensional texture array.
Definition: GraphicsTypes.h:261
Diligent::TEX_FORMAT_RG16_SINT
@ TEX_FORMAT_RG16_SINT
Two-component 32-bit signed-integer format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R16G1...
Definition: GraphicsTypes.h:497
Diligent::COMPARISON_FUNC_LESS_EQUAL
@ COMPARISON_FUNC_LESS_EQUAL
Comparison passes if the source data is less than or equal to the destination data....
Definition: GraphicsTypes.h:950
Diligent::DeviceObjectAttribs::DeviceObjectAttribs
DeviceObjectAttribs(const Char *_Name)
Definition: GraphicsTypes.h:1207
Diligent::ADAPTER_VENDOR_NVIDIA
@ ADAPTER_VENDOR_NVIDIA
Adapter vendor is NVidia.
Definition: GraphicsTypes.h:1760
Diligent::MISC_TEXTURE_FLAG_NONE
@ MISC_TEXTURE_FLAG_NONE
Definition: GraphicsTypes.h:977
Diligent::PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 13 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1064
Diligent::CPU_ACCESS_FLAGS
CPU_ACCESS_FLAGS
Allowed CPU access mode flags when mapping a resource.
Definition: GraphicsTypes.h:191
Diligent::SHADER_TYPE_RAY_GEN
@ SHADER_TYPE_RAY_GEN
Ray generation shader.
Definition: GraphicsTypes.h:76
Diligent::PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 30 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1132
Diligent::ADAPTER_VENDOR_AMD
@ ADAPTER_VENDOR_AMD
Adapter vendor is AMD.
Definition: GraphicsTypes.h:1763
Diligent::TEX_FORMAT_R8_TYPELESS
@ TEX_FORMAT_R8_TYPELESS
Single-component 8-bit typeless format. D3D counterpart: DXGI_FORMAT_R8_TYPELESS....
Definition: GraphicsTypes.h:590
Diligent::SURFACE_TRANSFORM_ROTATE_270
@ SURFACE_TRANSFORM_ROTATE_270
The image content is rotated 270 degrees clockwise.
Definition: GraphicsTypes.h:1330
Diligent::VT_UINT32
@ VT_UINT32
Unsigned 32-bit integer.
Definition: GraphicsTypes.h:57
Diligent::ACCESS_FLAG_INPUT_ATTACHMENT_READ
@ ACCESS_FLAG_INPUT_ATTACHMENT_READ
Read access to an input attachment within a render pass during fragment shading.
Definition: GraphicsTypes.h:2740
Diligent::PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 14 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1068
Diligent::Char
char Char
Definition: BasicTypes.h:64
Diligent::PRIMITIVE_TOPOLOGY_POINT_LIST
@ PRIMITIVE_TOPOLOGY_POINT_LIST
Interpret the vertex data as a list of points. D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_POINTLIST....
Definition: GraphicsTypes.h:1004
Diligent::RESOURCE_DIM_TEX_2D_ARRAY
@ RESOURCE_DIM_TEX_2D_ARRAY
Two-dimensional texture array.
Definition: GraphicsTypes.h:263
Diligent::VT_INT8
@ VT_INT8
Signed 8-bit integer.
Definition: GraphicsTypes.h:52
Diligent::ACCESS_FLAG_DEFAULT
@ ACCESS_FLAG_DEFAULT
Default access type that is determined by the resource state. For example, RESOURCE_STATE_RENDER_TARG...
Definition: GraphicsTypes.h:2808
Diligent::TEX_FORMAT_BGRX8_TYPELESS
@ TEX_FORMAT_BGRX8_TYPELESS
Four-component 32-bit typeless format that with 8 bits for each color channel, and 8 bits are unused....
Definition: GraphicsTypes.h:800
Diligent::TEX_FORMAT_RGB32_FLOAT
@ TEX_FORMAT_RGB32_FLOAT
Three-component 96-bit floating-point format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32...
Definition: GraphicsTypes.h:357
Diligent::TEX_FORMAT_RG16_FLOAT
@ TEX_FORMAT_RG16_FLOAT
Two-component 32-bit half-precision floating-point format with 16-bit channels. D3D counterpart: DX...
Definition: GraphicsTypes.h:477
Diligent::TEX_FORMAT_R32_FLOAT
@ TEX_FORMAT_R32_FLOAT
Single-component 32-bit floating-point format. D3D counterpart: DXGI_FORMAT_R32_FLOAT....
Definition: GraphicsTypes.h:509
Diligent::DepthStencilClearValue::Stencil
Uint8 Stencil
Stencil clear value.
Definition: GraphicsTypes.h:1153
Diligent::TextureFormatInfoExt
Extended texture format information.
Definition: GraphicsTypes.h:2595
Diligent::PIPELINE_STAGE_FLAG_UNDEFINED
@ PIPELINE_STAGE_FLAG_UNDEFINED
Undefined stage.
Definition: GraphicsTypes.h:2628
Diligent::RESOURCE_STATE_DEPTH_READ
@ RESOURCE_STATE_DEPTH_READ
The resource is used in a read-only depth-stencil view.
Definition: GraphicsTypes.h:2841
Diligent::TEX_FORMAT_RGBA32_TYPELESS
@ TEX_FORMAT_RGBA32_TYPELESS
Four-component 128-bit typeless format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32G32B32...
Definition: GraphicsTypes.h:335
Diligent::TEXTURE_VIEW_NUM_VIEWS
@ TEXTURE_VIEW_NUM_VIEWS
Helper value that stores that total number of texture views.
Definition: GraphicsTypes.h:296
Diligent::EngineMtlCreateInfo
Attributes of the Metal-based engine implementation.
Definition: GraphicsTypes.h:2374
Diligent::PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 27 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1120
Diligent::WAVE_FEATURE
WAVE_FEATURE
Describes the wave feature types. In Vulkan backend, you should check which features are supported by...
Definition: GraphicsTypes.h:1932
Diligent::TEX_FORMAT_R24_UNORM_X8_TYPELESS
@ TEX_FORMAT_R24_UNORM_X8_TYPELESS
Two-component 32-bit format with 24 bits for unsigned-normalized-integer data and 8 bits of unreferen...
Definition: GraphicsTypes.h:529
Diligent::TEX_FORMAT_RG8_TYPELESS
@ TEX_FORMAT_RG8_TYPELESS
Two-component 16-bit typeless format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G8_TYPELES...
Definition: GraphicsTypes.h:538
Diligent::BIND_UNORDERED_ACCESS
@ BIND_UNORDERED_ACCESS
A buffer or a texture can be bound as an unordered access view.
Definition: GraphicsTypes.h:127
Diligent::DeviceCaps::AdapterInfo
GraphicsAdapterInfo AdapterInfo
Adapter info, see Diligent::GraphicsAdapterInfo.
Definition: GraphicsTypes.h:1849
Diligent::RESOURCE_DIM_NUM_DIMENSIONS
@ RESOURCE_DIM_NUM_DIMENSIONS
Helper value that stores the total number of texture types in the enumeration.
Definition: GraphicsTypes.h:267
Diligent::ACCESS_FLAG_ACCELERATION_STRUCTURE_READ
@ ACCESS_FLAG_ACCELERATION_STRUCTURE_READ
Read access to an acceleration structure as part of a trace or build command.
Definition: GraphicsTypes.h:2795
Diligent::SHADER_TYPE_DOMAIN
@ SHADER_TYPE_DOMAIN
Domain (tessellation evaluation) shader.
Definition: GraphicsTypes.h:72
Diligent::TEX_FORMAT_RGBA16_TYPELESS
@ TEX_FORMAT_RGBA16_TYPELESS
Four-component 64-bit typeless format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R16G16B16A...
Definition: GraphicsTypes.h:371
Diligent::SHADER_TYPE_LAST
@ SHADER_TYPE_LAST
Definition: GraphicsTypes.h:82
Diligent::SHADER_TYPE
SHADER_TYPE
Describes the shader type.
Definition: GraphicsTypes.h:65
Diligent::TEX_FORMAT_R16_SINT
@ TEX_FORMAT_R16_SINT
Single-component 16-bit signed-integer format. D3D counterpart: DXGI_FORMAT_R16_SINT....
Definition: GraphicsTypes.h:586
Diligent::RENDER_DEVICE_TYPE_VULKAN
@ RENDER_DEVICE_TYPE_VULKAN
Vulkan device.
Definition: GraphicsTypes.h:1486
Diligent::RESOURCE_STATE_CONSTANT_BUFFER
@ RESOURCE_STATE_CONSTANT_BUFFER
The resource is accessed as a constant (uniform) buffer.
Definition: GraphicsTypes.h:2826
Diligent::USAGE
USAGE
Resource usage.
Definition: GraphicsTypes.h:143
Diligent::SWAP_CHAIN_USAGE_FLAGS
SWAP_CHAIN_USAGE_FLAGS
Defines allowed swap chain usage flags.
Definition: GraphicsTypes.h:1295
Diligent::BIND_INPUT_ATTACHMENT
@ BIND_INPUT_ATTACHMENT
A texture can be used as render pass input attachment.
Definition: GraphicsTypes.h:129
Diligent::TextureCaps
Texture capabilities.
Definition: GraphicsTypes.h:1507
Diligent::TEXTURE_ADDRESS_MODE
TEXTURE_ADDRESS_MODE
Texture address mode.
Definition: GraphicsTypes.h:889
Diligent::TEX_FORMAT_RGBA16_SNORM
@ TEX_FORMAT_RGBA16_SNORM
Four-component 64-bit signed-normalized-integer format with 16-bit channels. D3D counterpart: DXGI_...
Definition: GraphicsTypes.h:392
Diligent::SHADER_TYPE_ALL_MESH
@ SHADER_TYPE_ALL_MESH
All mesh shading pipeline stages.
Definition: GraphicsTypes.h:92
Diligent::COMPONENT_TYPE
COMPONENT_TYPE
Describes texture format component type.
Definition: GraphicsTypes.h:2444
APIInfo.h
Diligent::DeviceCaps::Features
DeviceFeatures Features
Device features. See Diligent::DeviceFeatures.
Definition: GraphicsTypes.h:1861
Diligent::TEX_FORMAT_RG32_SINT
@ TEX_FORMAT_RG32_SINT
Two-component 64-bit signed-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32G3...
Definition: GraphicsTypes.h:412
Diligent::TEX_FORMAT_BC6H_SF16
@ TEX_FORMAT_BC6H_SF16
Three-channel signed half-precision floating-point format with 16 bits per each channel....
Definition: GraphicsTypes.h:829
Diligent::TEX_FORMAT_RGBA8_UINT
@ TEX_FORMAT_RGBA8_UINT
Four-component 32-bit unsigned-integer format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G...
Definition: GraphicsTypes.h:461
Diligent::MAP_FLAG_NONE
@ MAP_FLAG_NONE
Definition: GraphicsTypes.h:229
Diligent::ACCESS_FLAG_RENDER_TARGET_READ
@ ACCESS_FLAG_RENDER_TARGET_READ
Read access to a color render target, such as via blending, logic operations, or via certain subpass ...
Definition: GraphicsTypes.h:2750
Diligent::VulkanDescriptorPoolSize
Descriptor pool size.
Definition: GraphicsTypes.h:2233
Diligent::RESOURCE_DIM_BUFFER
@ RESOURCE_DIM_BUFFER
Buffer.
Definition: GraphicsTypes.h:259
Diligent::TEX_FORMAT_BC2_TYPELESS
@ TEX_FORMAT_BC2_TYPELESS
Four component typeless block-compression format with 1:4 compression ratio. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:664
Diligent::TEX_FORMAT_R32_SINT
@ TEX_FORMAT_R32_SINT
Single-component 32-bit signed-integer format. D3D counterpart: DXGI_FORMAT_R32_SINT....
Definition: GraphicsTypes.h:517
Diligent::TEX_FORMAT_BC1_UNORM
@ TEX_FORMAT_BC1_UNORM
Four-component unsigned-normalized-integer block-compression format with 5 bits for R,...
Definition: GraphicsTypes.h:647
Diligent::TEX_FORMAT_RG16_SNORM
@ TEX_FORMAT_RG16_SNORM
Two-component 32-bit signed-normalized-integer format with 16-bit channels. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:493
Diligent::Uint64
uint64_t Uint64
64-bit unsigned integer
Definition: BasicTypes.h:50
Diligent::RESOURCE_STATE_GENERIC_READ
@ RESOURCE_STATE_GENERIC_READ
Definition: GraphicsTypes.h:2882
Diligent::DeviceCaps::TexCaps
TextureCaps TexCaps
Texture capabilities. See Diligent::TextureCaps.
Definition: GraphicsTypes.h:1855
Diligent::PIPELINE_STAGE_FLAG_HULL_SHADER
@ PIPELINE_STAGE_FLAG_HULL_SHADER
Hull shader stage.
Definition: GraphicsTypes.h:2643
Diligent::RESOURCE_STATE_RESOLVE_SOURCE
@ RESOURCE_STATE_RESOLVE_SOURCE
The resource is used as the source in a resolve operation.
Definition: GraphicsTypes.h:2862
Diligent::MAP_FLAG_DISCARD
@ MAP_FLAG_DISCARD
Previous contents of the resource will be undefined. This flag is only compatible with MAP_WRITE D3D...
Definition: GraphicsTypes.h:241
Diligent::TEX_FORMAT_RGBA8_SINT
@ TEX_FORMAT_RGBA8_SINT
Four-component 32-bit signed-integer format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G8B...
Definition: GraphicsTypes.h:469
Diligent::ADAPTER_VENDOR_QUALCOMM
@ ADAPTER_VENDOR_QUALCOMM
Adapter vendor is Qualcomm.
Definition: GraphicsTypes.h:1772
Diligent::ADAPTER_VENDOR_UNKNOWN
@ ADAPTER_VENDOR_UNKNOWN
Adapter vendor is unknown.
Definition: GraphicsTypes.h:1757
Diligent::PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
@ PRIMITIVE_TOPOLOGY_TRIANGLE_LIST
Interpret the vertex data as a list of triangles. D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_TRIANGLELI...
Definition: GraphicsTypes.h:996
Diligent::Float32
float Float32
32-bit float
Definition: BasicTypes.h:43
Diligent::FILTER_TYPE
FILTER_TYPE
Filter type.
Definition: GraphicsTypes.h:864
Diligent::PIPELINE_STAGE_FLAG_PIXEL_SHADER
@ PIPELINE_STAGE_FLAG_PIXEL_SHADER
Pixel shader stage.
Definition: GraphicsTypes.h:2652
Diligent::USAGE_UNIFIED
@ USAGE_UNIFIED
A resource residing in a unified memory (e.g. memory shared between CPU and GPU), that can be read an...
Definition: GraphicsTypes.h:179
Diligent::PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 21 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1096
Diligent::VulkanDescriptorPoolSize::VulkanDescriptorPoolSize
VulkanDescriptorPoolSize(Uint32 _MaxDescriptorSets, Uint32 _NumSeparateSamplerDescriptors, Uint32 _NumCombinedSamplerDescriptors, Uint32 _NumSampledImageDescriptors, Uint32 _NumStorageImageDescriptors, Uint32 _NumUniformBufferDescriptors, Uint32 _NumStorageBufferDescriptors, Uint32 _NumUniformTexelBufferDescriptors, Uint32 _NumStorageTexelBufferDescriptors, Uint32 _NumInputAttachmentDescriptors, Uint32 _NumAccelStructDescriptors) noexcept
Definition: GraphicsTypes.h:2250
Diligent::TEX_FORMAT_D32_FLOAT
@ TEX_FORMAT_D32_FLOAT
Single-component 32-bit floating-point depth format. D3D counterpart: DXGI_FORMAT_D32_FLOAT....
Definition: GraphicsTypes.h:505
Diligent::MAP_FLAG_NO_OVERWRITE
@ MAP_FLAG_NO_OVERWRITE
The system will not synchronize pending operations before mapping the buffer. It is responsibility of...
Definition: GraphicsTypes.h:247
Diligent::PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of three control point patches. D3D counterpart: D3D_PRIMITIVE_T...
Definition: GraphicsTypes.h:1024
Diligent::PIPELINE_STAGE_FLAG_VERTEX_INPUT
@ PIPELINE_STAGE_FLAG_VERTEX_INPUT
The stage of the pipeline where vertex and index buffers are consumed.
Definition: GraphicsTypes.h:2637
Diligent::PIPELINE_STAGE_FLAG_ACCELERATION_STRUCTURE_BUILD
@ PIPELINE_STAGE_FLAG_ACCELERATION_STRUCTURE_BUILD
Acceleration structure build shader.
Definition: GraphicsTypes.h:2698
Diligent::TEX_FORMAT_R11G11B10_FLOAT
@ TEX_FORMAT_R11G11B10_FLOAT
Three-component 32-bit format encoding three partial precision channels using 11 bits for red and gre...
Definition: GraphicsTypes.h:445
Diligent::SCANLINE_ORDER
SCANLINE_ORDER
Flags indicating the method the raster uses to create an image on a surface.
Definition: GraphicsTypes.h:1249
Diligent::PRIMITIVE_TOPOLOGY_LINE_STRIP
@ PRIMITIVE_TOPOLOGY_LINE_STRIP
Interpret the vertex data as a line strip. D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_LINESTRIP....
Definition: GraphicsTypes.h:1012
Diligent::PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of ten control point patches. D3D counterpart: D3D_PRIMITIVE_TOP...
Definition: GraphicsTypes.h:1052
Diligent::VT_INT32
@ VT_INT32
Signed 32-bit integer.
Definition: GraphicsTypes.h:54
Diligent::PRIMITIVE_TOPOLOGY_LINE_LIST
@ PRIMITIVE_TOPOLOGY_LINE_LIST
Interpret the vertex data as a list of lines. D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_LINELIST....
Definition: GraphicsTypes.h:1008
Diligent::PRIMITIVE_TOPOLOGY
PRIMITIVE_TOPOLOGY
Input primitive topology.
Definition: GraphicsTypes.h:989
Diligent::TEX_FORMAT_NUM_FORMATS
@ TEX_FORMAT_NUM_FORMATS
Helper member containing the total number of texture formats in the enumeration.
Definition: GraphicsTypes.h:856
Diligent::TEX_FORMAT_RGBA16_FLOAT
@ TEX_FORMAT_RGBA16_FLOAT
Four-component 64-bit half-precision floating-point format with 16-bit channels. D3D counterpart: D...
Definition: GraphicsTypes.h:375
Diligent::TEXTURE_VIEW_UNORDERED_ACCESS
@ TEXTURE_VIEW_UNORDERED_ACCESS
A texture view will define an unordered access view that will be used for unordered read/write operat...
Definition: GraphicsTypes.h:293
Diligent::DeviceCaps::NDCAttribs::ZtoDepthScale
const float ZtoDepthScale
Definition: GraphicsTypes.h:1884
Diligent::TEX_FORMAT_BC3_UNORM
@ TEX_FORMAT_BC3_UNORM
Four-component unsigned-normalized-integer block-compression format with 5 bits for R,...
Definition: GraphicsTypes.h:699
Diligent::PIPELINE_STAGE_FLAGS
PIPELINE_STAGE_FLAGS
Pipeline stage flags.
Definition: GraphicsTypes.h:2625
Diligent::SHADER_TYPE_COMPUTE
@ SHADER_TYPE_COMPUTE
Compute shader.
Definition: GraphicsTypes.h:73
Diligent::RESOURCE_DIMENSION_SUPPORT_BUFFER
@ RESOURCE_DIMENSION_SUPPORT_BUFFER
Indicates if the device supports buffer resources for a particular texture format.
Definition: GraphicsTypes.h:2566
Diligent::operator==
bool operator==(const Plane3D &p1, const Plane3D &p2)
Definition: AdvancedMath.hpp:442
Diligent::PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 31 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1136
Diligent::VT_NUM_TYPES
@ VT_NUM_TYPES
Helper value storing total number of types in the enumeration.
Definition: GraphicsTypes.h:60
Diligent::WAVE_FEATURE_QUAD
@ WAVE_FEATURE_QUAD
Definition: GraphicsTypes.h:1942
Diligent::TEX_FORMAT_RGB32_TYPELESS
@ TEX_FORMAT_RGB32_TYPELESS
Three-component 96-bit typeless format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32G32B32...
Definition: GraphicsTypes.h:352
Diligent::TEX_FORMAT_RG32_UINT
@ TEX_FORMAT_RG32_UINT
Two-component 64-bit unsigned-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32...
Definition: GraphicsTypes.h:408
Diligent::PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 24 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1108
Diligent::DeviceCaps::NDCAttribs::GetZtoDepthBias
float GetZtoDepthBias() const
Definition: GraphicsTypes.h:1887
Diligent::SURFACE_TRANSFORM_IDENTITY
@ SURFACE_TRANSFORM_IDENTITY
The image content is presented without being transformed.
Definition: GraphicsTypes.h:1321
Diligent::PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of nine control point patches. D3D counterpart: D3D_PRIMITIVE_TO...
Definition: GraphicsTypes.h:1048
Diligent::TEX_FORMAT_BGRX8_UNORM
@ TEX_FORMAT_BGRX8_UNORM
Four-component 32-bit unsigned-normalized-integer format with 8 bits for each color channel and 8 bit...
Definition: GraphicsTypes.h:780
Diligent::TEX_FORMAT_RG8_UINT
@ TEX_FORMAT_RG8_UINT
Two-component 16-bit unsigned-integer format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G8...
Definition: GraphicsTypes.h:546
Diligent::USAGE_DYNAMIC
@ USAGE_DYNAMIC
A resource that can be read by the GPU and written at least once per frame by the CPU....
Definition: GraphicsTypes.h:161
Diligent::DebugMessageCallback
DebugMessageCallbackType DebugMessageCallback
Definition: AndroidDebug.cpp:60
Diligent::VT_UNDEFINED
@ VT_UNDEFINED
Undefined type.
Definition: GraphicsTypes.h:51
Diligent::COMPARISON_FUNC_LESS
@ COMPARISON_FUNC_LESS
Comparison passes if the source data is less than the destination data. Direct3D counterpart: D3D11_...
Definition: GraphicsTypes.h:942
Diligent::Box
Box.
Definition: GraphicsTypes.h:2407
Diligent::RESOURCE_DIM_TEX_CUBE_ARRAY
@ RESOURCE_DIM_TEX_CUBE_ARRAY
Cube-map array texture.
Definition: GraphicsTypes.h:266
Diligent::ACCESS_FLAG_FRAGMENT_DENSITY_MAP_READ
@ ACCESS_FLAG_FRAGMENT_DENSITY_MAP_READ
Read access to a fragment density map attachment during dynamic fragment density map operations.
Definition: GraphicsTypes.h:2803
Diligent::TEXTURE_VIEW_TYPE
TEXTURE_VIEW_TYPE
Texture view type.
Definition: GraphicsTypes.h:274
Diligent::TEX_FORMAT_RGBA8_SNORM
@ TEX_FORMAT_RGBA8_SNORM
Four-component 32-bit signed-normalized-integer format with 8-bit channels. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:465
Diligent::RESOURCE_DIMENSION_SUPPORT
RESOURCE_DIMENSION_SUPPORT
Describes device support of a particular resource dimension for a given texture format.
Definition: GraphicsTypes.h:2560
Diligent::DeviceCaps::GetNDCAttribs
const NDCAttribs & GetNDCAttribs() const
Definition: GraphicsTypes.h:1896
Diligent::SHADER_TYPE_RAY_ANY_HIT
@ SHADER_TYPE_RAY_ANY_HIT
Ray any hit shader.
Definition: GraphicsTypes.h:79
Diligent::TEX_FORMAT_BGRA8_UNORM
@ TEX_FORMAT_BGRA8_UNORM
Four-component 32-bit unsigned-normalized-integer format with 8 bits for each channel....
Definition: GraphicsTypes.h:775
Diligent::WAVE_FEATURE_CLUSTERED
@ WAVE_FEATURE_CLUSTERED
Definition: GraphicsTypes.h:1941
Diligent::DIRECT3D_FEATURE_LEVEL_12_0
@ DIRECT3D_FEATURE_LEVEL_12_0
Feature level 12.0.
Definition: GraphicsTypes.h:2073
Diligent::EngineD3D11CreateInfo
Attributes specific to D3D11 engine.
Definition: GraphicsTypes.h:2082
Diligent::SCANLINE_ORDER_PROGRESSIVE
@ SCANLINE_ORDER_PROGRESSIVE
The image is created from the first scanline to the last without skipping any D3D Counterpart: DXGI_M...
Definition: GraphicsTypes.h:1257
Diligent::RENDER_DEVICE_TYPE_METAL
@ RENDER_DEVICE_TYPE_METAL
Metal device (not yet implemented)
Definition: GraphicsTypes.h:1487
Diligent::PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of five control point patches. D3D counterpart: D3D_PRIMITIVE_TO...
Definition: GraphicsTypes.h:1032
Diligent::TEX_FORMAT_A8_UNORM
@ TEX_FORMAT_A8_UNORM
Single-component 8-bit unsigned-normalized-integer format for alpha only. D3D counterpart: DXGI_FOR...
Definition: GraphicsTypes.h:611
Diligent::ACCESS_FLAG_RENDER_TARGET_WRITE
@ ACCESS_FLAG_RENDER_TARGET_WRITE
Write access to a color render target, resolve, or depth/stencil resolve attachment during a render p...
Definition: GraphicsTypes.h:2754
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_CUBE
@ RESOURCE_DIMENSION_SUPPORT_TEX_CUBE
Indicates if the device supports cube textures for a particular texture format.
Definition: GraphicsTypes.h:2584
Diligent::DepthStencilClearValue::Depth
Float32 Depth
Depth clear value.
Definition: GraphicsTypes.h:1151
Diligent::FILTER_TYPE_MINIMUM_ANISOTROPIC
@ FILTER_TYPE_MINIMUM_ANISOTROPIC
Minimum-anisotropic filtering (DX12 only)
Definition: GraphicsTypes.h:875
Diligent::WAVE_FEATURE_VOTE
@ WAVE_FEATURE_VOTE
Definition: GraphicsTypes.h:1936
Diligent::SamplerCaps
Texture sampler capabilities.
Definition: GraphicsTypes.h:1492
Diligent::PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
@ PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP
Interpret the vertex data as a triangle strip. D3D counterpart: D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP...
Definition: GraphicsTypes.h:1000
Diligent::FILTER_TYPE_MAXIMUM_LINEAR
@ FILTER_TYPE_MAXIMUM_LINEAR
Maximum-linear filtering (DX12 only)
Definition: GraphicsTypes.h:877
Diligent::TEX_FORMAT_R16_SNORM
@ TEX_FORMAT_R16_SNORM
Single-component 16-bit signed-normalized-integer format. D3D counterpart: DXGI_FORMAT_R16_SNORM....
Definition: GraphicsTypes.h:582
Diligent::TEX_FORMAT_RGBA32_UINT
@ TEX_FORMAT_RGBA32_UINT
Four-component 128-bit unsigned-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R...
Definition: GraphicsTypes.h:343
Diligent::FILTER_TYPE_MINIMUM_POINT
@ FILTER_TYPE_MINIMUM_POINT
Minimum-point filtering (DX12 only)
Definition: GraphicsTypes.h:873
Diligent::TEX_FORMAT_RG16_UINT
@ TEX_FORMAT_RG16_UINT
Two-component 32-bit unsigned-integer format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R16...
Definition: GraphicsTypes.h:487
Diligent::ACCESS_FLAG_INDIRECT_COMMAND_READ
@ ACCESS_FLAG_INDIRECT_COMMAND_READ
Read access to indirect command data read as part of an indirect drawing or dispatch command.
Definition: GraphicsTypes.h:2728
Diligent::PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 32 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1140
Diligent::SCANLINE_ORDER_LOWER_FIELD_FIRST
@ SCANLINE_ORDER_LOWER_FIELD_FIRST
The image is created beginning with the lower field D3D Counterpart: DXGI_MODE_SCANLINE_ORDER_LOWER_F...
Definition: GraphicsTypes.h:1265
Diligent::TEX_FORMAT_BC3_UNORM_SRGB
@ TEX_FORMAT_BC3_UNORM_SRGB
Four-component unsigned-normalized-integer block-compression sRGB format with 5 bits for R,...
Definition: GraphicsTypes.h:708
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_1D_ARRAY
@ RESOURCE_DIMENSION_SUPPORT_TEX_1D_ARRAY
Indicates if the device supports 1D texture arrays for a particular texture format.
Definition: GraphicsTypes.h:2572
Diligent::TEX_FORMAT_UNKNOWN
@ TEX_FORMAT_UNKNOWN
Unknown format.
Definition: GraphicsTypes.h:331
Diligent::SwapChainDesc::SwapChainDesc
SwapChainDesc() noexcept
Definition: GraphicsTypes.h:1392
Diligent::SHADER_TYPE_RAY_CLOSEST_HIT
@ SHADER_TYPE_RAY_CLOSEST_HIT
Ray closest hit shader.
Definition: GraphicsTypes.h:78
Diligent::Box::Box
Box(Uint32 _MinX, Uint32 _MaxX) noexcept
Definition: GraphicsTypes.h:2433
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_2D_ARRAY
@ RESOURCE_DIMENSION_SUPPORT_TEX_2D_ARRAY
Indicates if the device supports 2D texture arrays for a particular texture format.
Definition: GraphicsTypes.h:2578
Diligent::PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 23 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1104
Diligent::QUERY_TYPE_BINARY_OCCLUSION
@ QUERY_TYPE_BINARY_OCCLUSION
Acts like QUERY_TYPE_OCCLUSION except that it returns simply a binary true/false result: false indica...
Definition: GraphicsTypes.h:1458
Diligent::VulkanDescriptorPoolSize::VulkanDescriptorPoolSize
VulkanDescriptorPoolSize() noexcept
Definition: GraphicsTypes.h:2248
MinorVersion
Uint8 MinorVersion
Definition: DXBCUtils.cpp:68
Diligent::Int32
int32_t Int32
32-bit signed integer
Definition: BasicTypes.h:46
Diligent::FILTER_TYPE_UNKNOWN
@ FILTER_TYPE_UNKNOWN
Unknown filter type.
Definition: GraphicsTypes.h:866
Diligent::FILTER_TYPE_COMPARISON_LINEAR
@ FILTER_TYPE_COMPARISON_LINEAR
Comparison-linear filtering.
Definition: GraphicsTypes.h:871
Diligent::D3D11_DEBUG_FLAG_NONE
@ D3D11_DEBUG_FLAG_NONE
No debug flag.
Definition: GraphicsTypes.h:2041
Diligent::TEX_FORMAT_BGRA8_UNORM_SRGB
@ TEX_FORMAT_BGRA8_UNORM_SRGB
Four-component 32-bit unsigned-normalized sRGB format with 8 bits for each channel....
Definition: GraphicsTypes.h:795
Diligent::PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 29 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1128
Diligent::TEX_FORMAT_BC4_TYPELESS
@ TEX_FORMAT_BC4_TYPELESS
One-component typeless block-compression format with 1:2 compression ratio. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:716
Diligent::TEX_FORMAT_R8_UINT
@ TEX_FORMAT_R8_UINT
Single-component 8-bit unsigned-integer format. D3D counterpart: DXGI_FORMAT_R8_UINT....
Definition: GraphicsTypes.h:598
Diligent::PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 16 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1076
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_CUBE_ARRAY
@ RESOURCE_DIMENSION_SUPPORT_TEX_CUBE_ARRAY
Indicates if the device supports cube texture arrays for a particular texture format.
Definition: GraphicsTypes.h:2587
Diligent::ACCESS_FLAG_MEMORY_WRITE
@ ACCESS_FLAG_MEMORY_WRITE
All write accesses. It is always valid in any access mask, and is treated as equivalent to setting al...
Definition: GraphicsTypes.h:2786
Diligent::SURFACE_TRANSFORM_OPTIMAL
@ SURFACE_TRANSFORM_OPTIMAL
Uset the most optimal surface transform.
Definition: GraphicsTypes.h:1318
Diligent::TEX_FORMAT_R8_SINT
@ TEX_FORMAT_R8_SINT
Single-component 8-bit signed-integer format. D3D counterpart: DXGI_FORMAT_R8_SINT....
Definition: GraphicsTypes.h:606
Diligent::DEVICE_FEATURE_STATE_DISABLED
@ DEVICE_FEATURE_STATE_DISABLED
Device feature is disabled.
Definition: GraphicsTypes.h:1546
Diligent::STATE_TRANSITION_TYPE_BEGIN
@ STATE_TRANSITION_TYPE_BEGIN
Begin split barrier. This mode only has effect in Direct3D12 backend, and corresponds to D3D12_RESOUR...
Definition: GraphicsTypes.h:2901
Diligent::DeviceObjectAttribs
Describes common device object attributes.
Definition: GraphicsTypes.h:1196
Diligent::BIND_FLAGS
BIND_FLAGS
Resource binding flags.
Definition: GraphicsTypes.h:115
Diligent::TEXTURE_ADDRESS_MIRROR_ONCE
@ TEXTURE_ADDRESS_MIRROR_ONCE
Similar to TEXTURE_ADDRESS_MIRROR and TEXTURE_ADDRESS_CLAMP. Takes the absolute value of the texture ...
Definition: GraphicsTypes.h:917
Diligent::TEX_FORMAT_BC1_UNORM_SRGB
@ TEX_FORMAT_BC1_UNORM_SRGB
Four-component unsigned-normalized-integer block-compression sRGB format with 5 bits for R,...
Definition: GraphicsTypes.h:656
Diligent::SURFACE_TRANSFORM
SURFACE_TRANSFORM
The transform applied to the image content prior to presentation.
Definition: GraphicsTypes.h:1315
Diligent::TEX_FORMAT_BC2_UNORM
@ TEX_FORMAT_BC2_UNORM
Four-component unsigned-normalized-integer block-compression format with 5 bits for R,...
Definition: GraphicsTypes.h:673
Diligent::ACCESS_FLAG_DEPTH_STENCIL_WRITE
@ ACCESS_FLAG_DEPTH_STENCIL_WRITE
Write access to a depth/stencil buffer, via depth or stencil operations or via certain subpass load a...
Definition: GraphicsTypes.h:2762
Diligent::TEX_FORMAT_R8_UNORM
@ TEX_FORMAT_R8_UNORM
Single-component 8-bit unsigned-normalized-integer format. D3D counterpart: DXGI_FORMAT_R8_UNORM....
Definition: GraphicsTypes.h:594
Diligent::TEX_FORMAT_B5G6R5_UNORM
@ TEX_FORMAT_B5G6R5_UNORM
Three-component 16-bit unsigned-normalized-integer format with 5 bits for blue, 6 bits for green,...
Definition: GraphicsTypes.h:765
Diligent::TEX_FORMAT_BC4_UNORM
@ TEX_FORMAT_BC4_UNORM
One-component unsigned-normalized-integer block-compression format with 8 bits for R channel....
Definition: GraphicsTypes.h:725
Diligent::ADAPTER_VENDOR
ADAPTER_VENDOR
Graphics adapter vendor.
Definition: GraphicsTypes.h:1754
Diligent::VT_FLOAT16
@ VT_FLOAT16
Half-precision 16-bit floating point.
Definition: GraphicsTypes.h:58
Diligent::BIND_UNIFORM_BUFFER
@ BIND_UNIFORM_BUFFER
A buffer can be bound as a uniform buffer.
Definition: GraphicsTypes.h:120
Diligent::SCALING_MODE_UNSPECIFIED
@ SCALING_MODE_UNSPECIFIED
Unspecified scaling. D3D Counterpart: DXGI_MODE_SCALING_UNSPECIFIED.
Definition: GraphicsTypes.h:1234
Diligent::ACCESS_FLAG_HOST_WRITE
@ ACCESS_FLAG_HOST_WRITE
Write access by a host operation. Accesses of this type are not performed through a resource,...
Definition: GraphicsTypes.h:2776
Diligent::PIPELINE_STAGE_FLAG_RAY_TRACING_SHADER
@ PIPELINE_STAGE_FLAG_RAY_TRACING_SHADER
Ray tracing shader.
Definition: GraphicsTypes.h:2695
Diligent::PIPELINE_STAGE_FLAG_DEFAULT
@ PIPELINE_STAGE_FLAG_DEFAULT
Default pipeline stage that is determined by the resource state. For example, RESOURCE_STATE_RENDER_T...
Definition: GraphicsTypes.h:2712
Diligent::COMPONENT_TYPE_UNORM
@ COMPONENT_TYPE_UNORM
Unsigned-normalized-integer component type.
Definition: GraphicsTypes.h:2456
Diligent::VT_UINT16
@ VT_UINT16
Unsigned 16-bit integer.
Definition: GraphicsTypes.h:56
Diligent::SHADER_TYPE_PIXEL
@ SHADER_TYPE_PIXEL
Pixel (fragment) shader.
Definition: GraphicsTypes.h:69
Diligent::TEX_FORMAT_BC7_UNORM_SRGB
@ TEX_FORMAT_BC7_UNORM_SRGB
Three-component block-compression unsigned-normalized-integer sRGB format with 4 to 7 bits per color ...
Definition: GraphicsTypes.h:853
Diligent::RESOURCE_STATE_VERTEX_BUFFER
@ RESOURCE_STATE_VERTEX_BUFFER
The resource is accessed as a vertex buffer.
Definition: GraphicsTypes.h:2823
Diligent::SCANLINE_ORDER_UPPER_FIELD_FIRST
@ SCANLINE_ORDER_UPPER_FIELD_FIRST
The image is created beginning with the upper field D3D Counterpart: DXGI_MODE_SCANLINE_ORDER_UPPER_F...
Definition: GraphicsTypes.h:1261
Diligent::COMPONENT_TYPE_COMPOUND
@ COMPONENT_TYPE_COMPOUND
Compound component type (example texture formats: TEX_FORMAT_R11G11B10_FLOAT or TEX_FORMAT_RGB9E5_SHA...
Definition: GraphicsTypes.h:2474
Diligent::COMPARISON_FUNC_NEVER
@ COMPARISON_FUNC_NEVER
Comparison never passes. Direct3D counterpart: D3D11_COMPARISON_NEVER/D3D12_COMPARISON_FUNC_NEVER....
Definition: GraphicsTypes.h:938
Diligent::RESOURCE_STATE_MAX_BIT
@ RESOURCE_STATE_MAX_BIT
Definition: GraphicsTypes.h:2880
Diligent::TEX_FORMAT_RGB10A2_UNORM
@ TEX_FORMAT_RGB10A2_UNORM
Four-component 32-bit unsigned-normalized-integer format with 10 bits for each color and 2 bits for a...
Definition: GraphicsTypes.h:437
Diligent::RESOURCE_DIM_TEX_CUBE
@ RESOURCE_DIM_TEX_CUBE
Cube-map texture.
Definition: GraphicsTypes.h:265
Diligent::DeviceCaps::IsVulkanDevice
bool IsVulkanDevice() const
Definition: GraphicsTypes.h:1872
Diligent::DIRECT3D_FEATURE_LEVEL
DIRECT3D_FEATURE_LEVEL
Direct3D11/12 feature level.
Definition: GraphicsTypes.h:2058
Diligent::ACCESS_FLAG_INDEX_READ
@ ACCESS_FLAG_INDEX_READ
Read access to an index buffer as part of an indexed drawing command.
Definition: GraphicsTypes.h:2731
DILIGENT_END_NAMESPACE
#define DILIGENT_END_NAMESPACE
Definition: CommonDefinitions.h:86
Diligent::TEX_FORMAT_D32_FLOAT_S8X24_UINT
@ TEX_FORMAT_D32_FLOAT_S8X24_UINT
Two-component 64-bit format with 32-bit floating-point depth channel and 8-bit stencil channel....
Definition: GraphicsTypes.h:420
Diligent::TEX_FORMAT_R8_SNORM
@ TEX_FORMAT_R8_SNORM
Single-component 8-bit signed-normalized-integer format. D3D counterpart: DXGI_FORMAT_R8_SNORM....
Definition: GraphicsTypes.h:602
Diligent::Box::Box
Box() noexcept
Definition: GraphicsTypes.h:2437
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_3D
@ RESOURCE_DIMENSION_SUPPORT_TEX_3D
Indicates if the device supports 3D textures for a particular texture format.
Definition: GraphicsTypes.h:2581
Diligent::COMPARISON_FUNC_UNKNOWN
@ COMPARISON_FUNC_UNKNOWN
Unknown comparison function.
Definition: GraphicsTypes.h:934
Diligent::DeviceFeatures::DeviceFeatures
DeviceFeatures() noexcept
Definition: GraphicsTypes.h:1705
Diligent::MAP_READ_WRITE
@ MAP_READ_WRITE
The resource is mapped for reading and writing. D3D11 counterpart: D3D11_MAP_READ_WRITE....
Definition: GraphicsTypes.h:218
Diligent::VALUE_TYPE
VALUE_TYPE
Value type.
Definition: GraphicsTypes.h:49
Diligent::DeviceCaps::IsMetalDevice
bool IsMetalDevice() const
Definition: GraphicsTypes.h:1876
Diligent::DEVICE_FEATURE_STATE_OPTIONAL
@ DEVICE_FEATURE_STATE_OPTIONAL
Device feature is optional.
Definition: GraphicsTypes.h:1561
Diligent::TEX_FORMAT_RGBA32_FLOAT
@ TEX_FORMAT_RGBA32_FLOAT
Four-component 128-bit floating-point format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32...
Definition: GraphicsTypes.h:339
Diligent::FILTER_TYPE_POINT
@ FILTER_TYPE_POINT
Point filtering.
Definition: GraphicsTypes.h:867
Diligent::RESOURCE_STATE_INPUT_ATTACHMENT
@ RESOURCE_STATE_INPUT_ATTACHMENT
The resource is used as an input attachment in a render pass subpass.
Definition: GraphicsTypes.h:2865
Diligent::TEX_FORMAT_R16_FLOAT
@ TEX_FORMAT_R16_FLOAT
Single-component 16-bit half-precisoin floating-point format. D3D counterpart: DXGI_FORMAT_R16_FLOA...
Definition: GraphicsTypes.h:562
Diligent::DeviceProperties
Device properties.
Definition: GraphicsTypes.h:1970
Diligent::TEX_FORMAT_BGRA8_TYPELESS
@ TEX_FORMAT_BGRA8_TYPELESS
Four-component 32-bit typeless format with 8 bits for each channel. D3D counterpart: DXGI_FORMAT_B8...
Definition: GraphicsTypes.h:790
NumComponents
D3D10_SB_OPERAND_NUM_COMPONENTS NumComponents
Definition: DXBCUtils.cpp:519
Diligent::RESOURCE_STATE_RAY_TRACING
@ RESOURCE_STATE_RAY_TRACING
The resource is used as a top-level AS shader resource in a trace rays operation.
Definition: GraphicsTypes.h:2878
Diligent::ADAPTER_TYPE_UNKNOWN
@ ADAPTER_TYPE_UNKNOWN
Adapter type is unknown.
Definition: GraphicsTypes.h:1218
Diligent::COMPONENT_TYPE_DEPTH
@ COMPONENT_TYPE_DEPTH
Depth component type.
Definition: GraphicsTypes.h:2468
DILIGENT_DERIVE
#define DILIGENT_DERIVE(TypeName)
Definition: CommonDefinitions.h:90
Diligent::TEX_FORMAT_RGB10A2_UINT
@ TEX_FORMAT_RGB10A2_UINT
Four-component 32-bit unsigned-integer format with 10 bits for each color and 2 bits for alpha channe...
Definition: GraphicsTypes.h:441
Diligent::ACCESS_FLAG_SHADER_WRITE
@ ACCESS_FLAG_SHADER_WRITE
Write access to a UAV.
Definition: GraphicsTypes.h:2746
Diligent::FILTER_TYPE_NUM_FILTERS
@ FILTER_TYPE_NUM_FILTERS
Helper value that stores the total number of filter types in the enumeration.
Definition: GraphicsTypes.h:879
Diligent::DisplayModeAttribs
Display mode attributes.
Definition: GraphicsTypes.h:1269
Diligent::EngineD3D12CreateInfo
Attributes specific to D3D12 engine.
Definition: GraphicsTypes.h:2099
Diligent::PIPELINE_STAGE_FLAG_TRANSFER
@ PIPELINE_STAGE_FLAG_TRANSFER
The stage where all copy and outside-of-renderpass resolve and clear operations happen.
Definition: GraphicsTypes.h:2677
Diligent::TEX_FORMAT_RG16_UNORM
@ TEX_FORMAT_RG16_UNORM
Two-component 32-bit unsigned-normalized-integer format with 16-bit channels. D3D counterpart: DXGI...
Definition: GraphicsTypes.h:483
Diligent::MISC_TEXTURE_FLAG_GENERATE_MIPS
@ MISC_TEXTURE_FLAG_GENERATE_MIPS
Allow automatic mipmap generation with ITextureView::GenerateMips()
Definition: GraphicsTypes.h:982
Diligent::COMPARISON_FUNC_NUM_FUNCTIONS
@ COMPARISON_FUNC_NUM_FUNCTIONS
Helper value that stores the total number of comparison functions in the enumeration.
Definition: GraphicsTypes.h:969
Diligent::TEX_FORMAT_RG32_TYPELESS
@ TEX_FORMAT_RG32_TYPELESS
Two-component 64-bit typeless format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32G32_TYPE...
Definition: GraphicsTypes.h:400
Diligent::RENDER_DEVICE_TYPE
RENDER_DEVICE_TYPE
Device type.
Definition: GraphicsTypes.h:1479
Diligent::D3D11_DEBUG_FLAGS
D3D11_DEBUG_FLAGS
Debug flags that can be specified when creating Direct3D11-based engine implementation.
Definition: GraphicsTypes.h:2038
Diligent::SwapChainDesc::BufferCount
Uint32 BufferCount
The number of buffers in the swap chain.
Definition: GraphicsTypes.h:1379
Diligent::SHADER_TYPE_RAY_MISS
@ SHADER_TYPE_RAY_MISS
Ray miss shader.
Definition: GraphicsTypes.h:77
Diligent::RESOURCE_STATE_RENDER_TARGET
@ RESOURCE_STATE_RENDER_TARGET
The resource is accessed as a render target.
Definition: GraphicsTypes.h:2832
Diligent::PIPELINE_STAGE_FLAG_TASK_SHADER
@ PIPELINE_STAGE_FLAG_TASK_SHADER
Task shader stage.
Definition: GraphicsTypes.h:2701
Type
const D3D12_PIPELINE_STATE_SUBOBJECT_TYPE Type
Definition: PipelineStateD3D12Impl.cpp:69
Diligent::TextureFormatAttribs::TextureFormatAttribs
TextureFormatAttribs() noexcept
Definition: GraphicsTypes.h:2539
Diligent::TEX_FORMAT_RGB32_UINT
@ TEX_FORMAT_RGB32_UINT
Three-component 96-bit unsigned-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R...
Definition: GraphicsTypes.h:362
Diligent::PRIMITIVE_TOPOLOGY_NUM_TOPOLOGIES
@ PRIMITIVE_TOPOLOGY_NUM_TOPOLOGIES
Helper value that stores the total number of topologies in the enumeration.
Definition: GraphicsTypes.h:1143
Diligent::ADAPTER_VENDOR_INTEL
@ ADAPTER_VENDOR_INTEL
Adapter vendor is Intel.
Definition: GraphicsTypes.h:1766
Diligent::RESOURCE_STATE_STREAM_OUT
@ RESOURCE_STATE_STREAM_OUT
The resource is used as the destination for stream output.
Definition: GraphicsTypes.h:2847
Diligent::WAVE_FEATURE_UNKNOWN
@ WAVE_FEATURE_UNKNOWN
Definition: GraphicsTypes.h:1934
Diligent::RESOURCE_DIM_UNDEFINED
@ RESOURCE_DIM_UNDEFINED
Texture type undefined.
Definition: GraphicsTypes.h:258
Diligent::CPU_ACCESS_WRITE
@ CPU_ACCESS_WRITE
A resource can be mapped for writing.
Definition: GraphicsTypes.h:195
Diligent::SWAP_CHAIN_USAGE_COPY_SOURCE
@ SWAP_CHAIN_USAGE_COPY_SOURCE
Swap chain images can be used as source of copy operation.
Definition: GraphicsTypes.h:1307
Diligent::RESOURCE_STATE_UNDEFINED
@ RESOURCE_STATE_UNDEFINED
The resource state is known to the engine, but is undefined. A resource is typically in an undefined ...
Definition: GraphicsTypes.h:2820
Diligent::DeviceObjectAttribs::DeviceObjectAttribs
DeviceObjectAttribs() noexcept
Definition: GraphicsTypes.h:1205
Diligent::RESOURCE_STATE_RESOLVE_DEST
@ RESOURCE_STATE_RESOLVE_DEST
The resource is used as the destination in a resolve operation.
Definition: GraphicsTypes.h:2859
Diligent::SwapChainDesc
Swap chain description.
Definition: GraphicsTypes.h:1347
Diligent::Uint32
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
Diligent::COMPONENT_TYPE_SINT
@ COMPONENT_TYPE_SINT
Signed-integer component type.
Definition: GraphicsTypes.h:2462
DEFAULT_INITIALIZER
#define DEFAULT_INITIALIZER(x)
Definition: CommonDefinitions.h:93
Diligent::TEX_FORMAT_RGBA8_UNORM
@ TEX_FORMAT_RGBA8_UNORM
Four-component 32-bit unsigned-normalized-integer format with 8-bit channels. D3D counterpart: DXGI...
Definition: GraphicsTypes.h:453
Diligent::COMPARISON_FUNC_GREATER_EQUAL
@ COMPARISON_FUNC_GREATER_EQUAL
Comparison passes if the source data is greater than or equal to the destination data....
Definition: GraphicsTypes.h:962
Diligent::SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180
@ SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180
The image content is mirrored horizontally, then rotated 180 degrees clockwise.
Definition: GraphicsTypes.h:1339
Diligent::PRIMITIVE_TOPOLOGY_UNDEFINED
@ PRIMITIVE_TOPOLOGY_UNDEFINED
Undefined topology.
Definition: GraphicsTypes.h:992
Diligent::PIPELINE_STAGE_FLAG_SHADING_RATE_TEXTURE
@ PIPELINE_STAGE_FLAG_SHADING_RATE_TEXTURE
The stage of the pipeline where the shading rate texture is read to determine the shading rate for po...
Definition: GraphicsTypes.h:2692
Diligent::TEX_FORMAT_BC5_SNORM
@ TEX_FORMAT_BC5_SNORM
Two-component signed-normalized-integer block-compression format with 8 bits for R and 8 bits for G c...
Definition: GraphicsTypes.h:760
Diligent::SHADER_TYPE_HULL
@ SHADER_TYPE_HULL
Hull (tessellation control) shader.
Definition: GraphicsTypes.h:71
Diligent::TEX_FORMAT_RGB32_SINT
@ TEX_FORMAT_RGB32_SINT
Three-component 96-bit signed-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32...
Definition: GraphicsTypes.h:367
Diligent::Bool
bool Bool
Boolean.
Definition: BasicTypes.h:59
Diligent::ACCESS_FLAG_UNIFORM_READ
@ ACCESS_FLAG_UNIFORM_READ
Read access to a uniform buffer.
Definition: GraphicsTypes.h:2737
Diligent::TEX_FORMAT_BC5_TYPELESS
@ TEX_FORMAT_BC5_TYPELESS
Two-component typeless block-compression format with 1:2 compression ratio. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:742
Diligent::ADAPTER_TYPE_HARDWARE
@ ADAPTER_TYPE_HARDWARE
Hardware adapter.
Definition: GraphicsTypes.h:1224
Diligent::DIRECT3D_FEATURE_LEVEL_11_0
@ DIRECT3D_FEATURE_LEVEL_11_0
Feature level 11.0.
Definition: GraphicsTypes.h:2067
Diligent::TEX_FORMAT_R1_UNORM
@ TEX_FORMAT_R1_UNORM
Single-component 1-bit format. D3D counterpart: DXGI_FORMAT_R1_UNORM.
Definition: GraphicsTypes.h:616
Diligent::MAP_WRITE
@ MAP_WRITE
The resource is mapped for writing. D3D11 counterpart: D3D11_MAP_WRITE. OpenGL counterpart: GL_MAP_...
Definition: GraphicsTypes.h:214
Diligent::ACCESS_FLAG_SHADING_RATE_TEXTURE_READ
@ ACCESS_FLAG_SHADING_RATE_TEXTURE_READ
Read access to a shading rate texture as part of a drawing comman.
Definition: GraphicsTypes.h:2792
Diligent::ACCESS_FLAGS
ACCESS_FLAGS
Access flag.
Definition: GraphicsTypes.h:2721
Diligent::TEXTURE_ADDRESS_MIRROR
@ TEXTURE_ADDRESS_MIRROR
Flip the texture at every integer junction. Direct3D Counterpart: D3D11_TEXTURE_ADDRESS_MIRROR/D3D1...
Definition: GraphicsTypes.h:900
Diligent::DeviceCaps::SamCaps
SamplerCaps SamCaps
Texture sampling capabilities. See Diligent::SamplerCaps.
Definition: GraphicsTypes.h:1852
Diligent::DeviceFeatures
Describes the device features.
Definition: GraphicsTypes.h:1566
Diligent::TEX_FORMAT_RGB10A2_TYPELESS
@ TEX_FORMAT_RGB10A2_TYPELESS
Four-component 32-bit typeless format with 10 bits for RGB and 2 bits for alpha channel....
Definition: GraphicsTypes.h:433
Diligent::SwapChainDesc
struct SwapChainDesc SwapChainDesc
Definition: GraphicsTypes.h:1421
Diligent::TEX_FORMAT_RG32_FLOAT
@ TEX_FORMAT_RG32_FLOAT
Two-component 64-bit floating-point format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32G3...
Definition: GraphicsTypes.h:404
Diligent::MAP_READ
@ MAP_READ
The resource is mapped for reading. D3D11 counterpart: D3D11_MAP_READ. OpenGL counterpart: GL_MAP_R...
Definition: GraphicsTypes.h:210
Diligent::PIPELINE_STAGE_FLAG_GEOMETRY_SHADER
@ PIPELINE_STAGE_FLAG_GEOMETRY_SHADER
Geometry shader stage.
Definition: GraphicsTypes.h:2649
Diligent::COMPONENT_TYPE_COMPRESSED
@ COMPONENT_TYPE_COMPRESSED
Compressed component type.
Definition: GraphicsTypes.h:2477
Diligent::SHADER_TYPE_UNKNOWN
@ SHADER_TYPE_UNKNOWN
Unknown shader type.
Definition: GraphicsTypes.h:67
Diligent::COMPARISON_FUNCTION
COMPARISON_FUNCTION
Comparison function.
Definition: GraphicsTypes.h:931
Diligent::SHADER_TYPE_RAY_INTERSECTION
@ SHADER_TYPE_RAY_INTERSECTION
Ray intersection shader.
Definition: GraphicsTypes.h:80
Diligent::PIPELINE_STAGE_FLAG_EARLY_FRAGMENT_TESTS
@ PIPELINE_STAGE_FLAG_EARLY_FRAGMENT_TESTS
The stage of the pipeline where early fragment tests (depth and stencil tests before fragment shading...
Definition: GraphicsTypes.h:2658
Diligent::PIPELINE_STAGE_FLAG_BOTTOM_OF_PIPE
@ PIPELINE_STAGE_FLAG_BOTTOM_OF_PIPE
The bottom of the pipeline.
Definition: GraphicsTypes.h:2680
Diligent::WAVE_FEATURE_ARITHMETIC
@ WAVE_FEATURE_ARITHMETIC
Definition: GraphicsTypes.h:1937
Diligent::RESOURCE_STATE_UNKNOWN
@ RESOURCE_STATE_UNKNOWN
The resource state is not known to the engine and is managed by the application.
Definition: GraphicsTypes.h:2817
Diligent::DIRECT3D_FEATURE_LEVEL_10_0
@ DIRECT3D_FEATURE_LEVEL_10_0
Feature level 10.0.
Definition: GraphicsTypes.h:2061
Diligent::COMPARISON_FUNC_GREATER
@ COMPARISON_FUNC_GREATER
Comparison passes if the source data is greater than the destination data. Direct3D counterpart: 3D1...
Definition: GraphicsTypes.h:954
Diligent::WAVE_FEATURE_BASIC
@ WAVE_FEATURE_BASIC
Definition: GraphicsTypes.h:1935
Diligent::SURFACE_TRANSFORM_HORIZONTAL_MIRROR
@ SURFACE_TRANSFORM_HORIZONTAL_MIRROR
The image content is mirrored horizontally.
Definition: GraphicsTypes.h:1333
Diligent::ADAPTER_TYPE_SOFTWARE
@ ADAPTER_TYPE_SOFTWARE
Software adapter.
Definition: GraphicsTypes.h:1221
Diligent::EngineGLCreateInfo
Attributes of the OpenGL-based engine implementation.
Definition: GraphicsTypes.h:2015
Diligent::DeviceFeatures::DeviceFeatures
DeviceFeatures(DEVICE_FEATURE_STATE State) noexcept
Definition: GraphicsTypes.h:1707
Diligent::QUERY_TYPE_DURATION
@ QUERY_TYPE_DURATION
Gets the number of high-frequency counter ticks between IDeviceContext::BeginQuery and IDeviceContext...
Definition: GraphicsTypes.h:1470
Diligent::WaveOpProperties
Wave operation properties.
Definition: GraphicsTypes.h:1949
Diligent::ACCESS_FLAG_NONE
@ ACCESS_FLAG_NONE
No access.
Definition: GraphicsTypes.h:2724
Diligent::BUFFER_VIEW_SHADER_RESOURCE
@ BUFFER_VIEW_SHADER_RESOURCE
A buffer view will define a shader resource view that will be used as the source for the shader read ...
Definition: GraphicsTypes.h:310
Diligent::TEX_FORMAT_RG8_SNORM
@ TEX_FORMAT_RG8_SNORM
Two-component 16-bit signed-normalized-integer format with 8-bit channels. D3D counterpart: DXGI_FO...
Definition: GraphicsTypes.h:550
Diligent::RESOURCE_STATE_BUILD_AS_WRITE
@ RESOURCE_STATE_BUILD_AS_WRITE
The resource is used as the target for AS building or AS copy operations.
Definition: GraphicsTypes.h:2875
Diligent::PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 18 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1084
Diligent::TextureFormatInfo
Basic texture format description.
Definition: GraphicsTypes.h:2548
Diligent::WAVE_FEATURE_BALLOUT
@ WAVE_FEATURE_BALLOUT
Definition: GraphicsTypes.h:1938
Diligent::BIND_STREAM_OUTPUT
@ BIND_STREAM_OUTPUT
A buffer can be bound as a target for stream output stage.
Definition: GraphicsTypes.h:124
Diligent::SwapChainDesc::SwapChainDesc
SwapChainDesc(Uint32 _Width, Uint32 _Height, TEXTURE_FORMAT _ColorBufferFormat, TEXTURE_FORMAT _DepthBufferFormat, Uint32 _BufferCount=SwapChainDesc{}.BufferCount, Float32 _DefaultDepthValue=SwapChainDesc{}.DefaultDepthValue, Uint8 _DefaultStencilValue=SwapChainDesc{}.DefaultStencilValue, bool _IsPrimary=SwapChainDesc{}.IsPrimary)
Constructor intializes the structure members with default values.
Definition: GraphicsTypes.h:1401
Diligent::STATE_TRANSITION_TYPE_IMMEDIATE
@ STATE_TRANSITION_TYPE_IMMEDIATE
Perform state transition immediately.
Definition: GraphicsTypes.h:2895
Diligent::SWAP_CHAIN_USAGE_LAST
@ SWAP_CHAIN_USAGE_LAST
Definition: GraphicsTypes.h:1309
Diligent::EngineCreateInfo::Features
DeviceFeatures Features
Requested device features.
Definition: GraphicsTypes.h:2003
Diligent::RESOURCE_DIMENSION_SUPPORT_TEX_1D
@ RESOURCE_DIMENSION_SUPPORT_TEX_1D
Indicates if the device supports 1D textures for a particular texture format.
Definition: GraphicsTypes.h:2569
Diligent::SHADER_TYPE_GEOMETRY
@ SHADER_TYPE_GEOMETRY
Geometry shader.
Definition: GraphicsTypes.h:70
Diligent::TEX_FORMAT_X32_TYPELESS_G8X24_UINT
@ TEX_FORMAT_X32_TYPELESS_G8X24_UINT
Two-component 64-bit format with 32-bit typeless data and 8-bit G channel. D3D counterpart: DXGI_FO...
Definition: GraphicsTypes.h:429
Diligent::QUERY_TYPE_UNDEFINED
@ QUERY_TYPE_UNDEFINED
Query type is undefined.
Definition: GraphicsTypes.h:1449
Diligent::QUERY_TYPE_NUM_TYPES
@ QUERY_TYPE_NUM_TYPES
The number of query types in the enum.
Definition: GraphicsTypes.h:1473
Diligent::TEXTURE_ADDRESS_NUM_MODES
@ TEXTURE_ADDRESS_NUM_MODES
Helper value that stores the total number of texture address modes in the enumeration.
Definition: GraphicsTypes.h:920
Diligent::CPU_ACCESS_READ
@ CPU_ACCESS_READ
A resource can be mapped for reading.
Definition: GraphicsTypes.h:194
Diligent::RESOURCE_STATE_COPY_SOURCE
@ RESOURCE_STATE_COPY_SOURCE
The resource is used as the source in a copy operation.
Definition: GraphicsTypes.h:2856
Diligent::PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 17 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1080
Diligent::COMPONENT_TYPE_SNORM
@ COMPONENT_TYPE_SNORM
Signed-normalized-integer component type.
Definition: GraphicsTypes.h:2453
Diligent::PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 20 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1092
Diligent::SHADER_TYPE_CALLABLE
@ SHADER_TYPE_CALLABLE
Callable shader.
Definition: GraphicsTypes.h:81
Diligent::FILTER_TYPE_ANISOTROPIC
@ FILTER_TYPE_ANISOTROPIC
Anisotropic filtering.
Definition: GraphicsTypes.h:869
Diligent::SwapChainDesc::IsPrimary
bool IsPrimary
Indicates if this is a primary swap chain. When Present() is called for the primary swap chain,...
Definition: GraphicsTypes.h:1389
Diligent::PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 26 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1116
Diligent::TEX_FORMAT_D16_UNORM
@ TEX_FORMAT_D16_UNORM
Single-component 16-bit unsigned-normalized-integer depth format. D3D counterpart: DXGI_FORMAT_D16_...
Definition: GraphicsTypes.h:566
Diligent::EngineCreateInfo
Engine creation attibutes.
Definition: GraphicsTypes.h:1982
Diligent::RESOURCE_DIM_TEX_2D
@ RESOURCE_DIM_TEX_2D
Two-dimensional texture.
Definition: GraphicsTypes.h:262
Diligent::TEX_FORMAT_RGBA16_UNORM
@ TEX_FORMAT_RGBA16_UNORM
Four-component 64-bit unsigned-normalized-integer format with 16-bit channels. D3D counterpart: DXG...
Definition: GraphicsTypes.h:381
Diligent::PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 12 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1060
Diligent::TEXTURE_FORMAT
TEXTURE_FORMAT
Texture formats.
Definition: GraphicsTypes.h:328
Diligent::TEX_FORMAT_BC7_TYPELESS
@ TEX_FORMAT_BC7_TYPELESS
Three-component typeless block-compression format. D3D counterpart: DXGI_FORMAT_BC7_TYPELESS....
Definition: GraphicsTypes.h:837
Diligent::PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of one control point patches. D3D counterpart: D3D_PRIMITIVE_TOP...
Definition: GraphicsTypes.h:1016
Diligent::DepthStencilClearValue::DepthStencilClearValue
DepthStencilClearValue(Float32 _Depth, Uint8 _Stencil) noexcept
Definition: GraphicsTypes.h:1158
Diligent::QUERY_TYPE_OCCLUSION
@ QUERY_TYPE_OCCLUSION
Gets the number of samples that passed the depth and stencil tests in between IDeviceContext::BeginQu...
Definition: GraphicsTypes.h:1453
Diligent::SWAP_CHAIN_USAGE_SHADER_INPUT
@ SWAP_CHAIN_USAGE_SHADER_INPUT
Swap chain images can be used as shader inputs.
Definition: GraphicsTypes.h:1304
Diligent::COMPARISON_FUNC_NOT_EQUAL
@ COMPARISON_FUNC_NOT_EQUAL
Comparison passes if the source data is not equal to the destination data. Direct3D counterpart: D3D...
Definition: GraphicsTypes.h:958
Diligent::PIPELINE_STAGE_FLAG_COMPUTE_SHADER
@ PIPELINE_STAGE_FLAG_COMPUTE_SHADER
Compute shader stage.
Definition: GraphicsTypes.h:2673
DILIGENT_API_VERSION
#define DILIGENT_API_VERSION
Definition: APIInfo.h:33
Diligent::RESOURCE_STATE_PRESENT
@ RESOURCE_STATE_PRESENT
The resource is used for present.
Definition: GraphicsTypes.h:2868
Diligent::PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 15 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1072
Diligent::FILTER_TYPE_MAXIMUM_POINT
@ FILTER_TYPE_MAXIMUM_POINT
Maximum-point filtering (DX12 only)
Definition: GraphicsTypes.h:876
Diligent::PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of seven control point patches. D3D counterpart: D3D_PRIMITIVE_T...
Definition: GraphicsTypes.h:1040
Diligent::ACCESS_FLAG_DEPTH_STENCIL_READ
@ ACCESS_FLAG_DEPTH_STENCIL_READ
Read access to a depth/stencil buffer, via depth or stencil operations or via certain subpass load op...
Definition: GraphicsTypes.h:2758
Diligent::FILTER_TYPE_MINIMUM_LINEAR
@ FILTER_TYPE_MINIMUM_LINEAR
Minimum-linear filtering (DX12 only)
Definition: GraphicsTypes.h:874
Diligent::GraphicsAdapterInfo
Graphics adapter properties.
Definition: GraphicsTypes.h:1782
Diligent::Box::Box
Box(Uint32 _MinX, Uint32 _MaxX, Uint32 _MinY, Uint32 _MaxY, Uint32 _MinZ, Uint32 _MaxZ) noexcept
Definition: GraphicsTypes.h:2417
Diligent::TEX_FORMAT_R32_TYPELESS
@ TEX_FORMAT_R32_TYPELESS
Single-component 32-bit typeless format. D3D counterpart: DXGI_FORMAT_R32_TYPELESS....
Definition: GraphicsTypes.h:501
Diligent::IMemoryAllocator
Base interface for a raw memory allocator.
Definition: MemoryAllocator.h:41
Diligent::RESOURCE_DIMENSION_SUPPORT_NONE
@ RESOURCE_DIMENSION_SUPPORT_NONE
The device does not support any resources for this format.
Definition: GraphicsTypes.h:2563
Diligent::SHADER_TYPE_VERTEX
@ SHADER_TYPE_VERTEX
Vertex shader.
Definition: GraphicsTypes.h:68
Diligent::PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 28 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1124
Diligent::BUFFER_VIEW_UNORDERED_ACCESS
@ BUFFER_VIEW_UNORDERED_ACCESS
A buffer view will define an unordered access view that will be used for unordered read/write operati...
Definition: GraphicsTypes.h:314
Diligent::DebugMessageCallbackType
void(* DebugMessageCallbackType)(enum DEBUG_MESSAGE_SEVERITY Severity, const Char *Message, const Char *Function, const Char *File, int Line)
Type of the debug messag callback function.
Definition: DebugOutput.h:58
Diligent::TextureFormatAttribs
Describes invariant texture format attributes. These attributes are intrinsic to the texture format i...
Definition: GraphicsTypes.h:2483
DILIGENT_TYPED_ENUM
#define DILIGENT_TYPED_ENUM(EnumName, EnumType)
Definition: CommonDefinitions.h:88
Diligent::SURFACE_TRANSFORM_ROTATE_180
@ SURFACE_TRANSFORM_ROTATE_180
The image content is rotated 180 degrees clockwise.
Definition: GraphicsTypes.h:1327
Diligent::TEXTURE_ADDRESS_UNKNOWN
@ TEXTURE_ADDRESS_UNKNOWN
Unknown mode.
Definition: GraphicsTypes.h:892
Diligent::TEX_FORMAT_R16_TYPELESS
@ TEX_FORMAT_R16_TYPELESS
Single-component 16-bit typeless format. D3D counterpart: DXGI_FORMAT_R16_TYPELESS....
Definition: GraphicsTypes.h:558
Diligent::TEX_FORMAT_X24_TYPELESS_G8_UINT
@ TEX_FORMAT_X24_TYPELESS_G8_UINT
Two-component 32-bit format with 24 bits of unreferenced data and 8 bits of unsigned-integer data....
Definition: GraphicsTypes.h:534
Diligent::DeviceCaps
Device capabilities.
Definition: GraphicsTypes.h:1833
Diligent::RENDER_DEVICE_TYPE_D3D12
@ RENDER_DEVICE_TYPE_D3D12
D3D12 device.
Definition: GraphicsTypes.h:1483
Diligent::BIND_DEPTH_STENCIL
@ BIND_DEPTH_STENCIL
A texture can be bound as a depth-stencil target.
Definition: GraphicsTypes.h:126
Diligent::PIPELINE_STAGE_FLAG_VERTEX_SHADER
@ PIPELINE_STAGE_FLAG_VERTEX_SHADER
Vertex shader stage.
Definition: GraphicsTypes.h:2640
Diligent::PIPELINE_STAGE_FLAG_DRAW_INDIRECT
@ PIPELINE_STAGE_FLAG_DRAW_INDIRECT
The stage of the pipeline where Draw/DispatchIndirect data structures are consumed.
Definition: GraphicsTypes.h:2634
Diligent::TEX_FORMAT_RGBA16_SINT
@ TEX_FORMAT_RGBA16_SINT
Four-component 64-bit signed-integer format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R16G...
Definition: GraphicsTypes.h:396
Diligent::TEX_FORMAT_R32G8X24_TYPELESS
@ TEX_FORMAT_R32G8X24_TYPELESS
Two-component 64-bit typeless format with 32-bits for R channel and 8 bits for G channel....
Definition: GraphicsTypes.h:416
Diligent::STATE_TRANSITION_TYPE
STATE_TRANSITION_TYPE
State transition barrier type.
Definition: GraphicsTypes.h:2892
Diligent::SHADER_TYPE_ALL_GRAPHICS
@ SHADER_TYPE_ALL_GRAPHICS
All graphics pipeline shader stages.
Definition: GraphicsTypes.h:85
Diligent::TEX_FORMAT_BC6H_TYPELESS
@ TEX_FORMAT_BC6H_TYPELESS
Three-component typeless block-compression format. D3D counterpart: DXGI_FORMAT_BC6H_TYPELESS....
Definition: GraphicsTypes.h:813
Diligent::MAP_FLAG_DO_NOT_WAIT
@ MAP_FLAG_DO_NOT_WAIT
Specifies that map operation should not wait until previous command that using the same resource comp...
Definition: GraphicsTypes.h:236
Diligent::OptimizedClearValue::DepthStencil
DepthStencilClearValue DepthStencil
Depth stencil clear value.
Definition: GraphicsTypes.h:1177
Diligent::TEX_FORMAT_BC1_TYPELESS
@ TEX_FORMAT_BC1_TYPELESS
Four-component typeless block-compression format with 1:8 compression ratio. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:638
Diligent::DEVICE_FEATURE_STATE
DEVICE_FEATURE_STATE
Device feature state.
Definition: GraphicsTypes.h:1543
Diligent::ADAPTER_VENDOR_IMGTECH
@ ADAPTER_VENDOR_IMGTECH
Adapter vendor is Imagination Technologies.
Definition: GraphicsTypes.h:1775
Diligent::PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 22 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1100
Diligent::Uint16
uint16_t Uint16
16-bit unsigned integer
Definition: BasicTypes.h:52
Diligent::COMPONENT_TYPE_FLOAT
@ COMPONENT_TYPE_FLOAT
Floating point component type.
Definition: GraphicsTypes.h:2450
Diligent::WAVE_FEATURE_LAST
@ WAVE_FEATURE_LAST
Definition: GraphicsTypes.h:1943
MajorVersion
Uint8 MajorVersion
Definition: DXBCUtils.cpp:69
Diligent::BIND_INDIRECT_DRAW_ARGS
@ BIND_INDIRECT_DRAW_ARGS
A buffer can be bound as the source buffer for indirect draw commands.
Definition: GraphicsTypes.h:128
Diligent::TEX_FORMAT_G8R8_G8B8_UNORM
@ TEX_FORMAT_G8R8_G8B8_UNORM
Four-component unsigned-normalized integer format analogous to YUY2 encoding. D3D counterpart: DXGI...
Definition: GraphicsTypes.h:630
Diligent::TEXTURE_VIEW_DEPTH_STENCIL
@ TEXTURE_VIEW_DEPTH_STENCIL
A texture view will define a depth stencil view that will be used as the target for rendering operati...
Definition: GraphicsTypes.h:289
Diligent::QUERY_TYPE
QUERY_TYPE
Query type.
Definition: GraphicsTypes.h:1446
Diligent::BIND_VERTEX_BUFFER
@ BIND_VERTEX_BUFFER
A buffer can be bound as a vertex buffer.
Definition: GraphicsTypes.h:118
Diligent::TEX_FORMAT_R32_UINT
@ TEX_FORMAT_R32_UINT
Single-component 32-bit unsigned-integer format. D3D counterpart: DXGI_FORMAT_R32_UINT....
Definition: GraphicsTypes.h:513
Diligent::OptimizedClearValue
Defines optimized clear value.
Definition: GraphicsTypes.h:1168
Diligent::BIND_NONE
@ BIND_NONE
Undefined binding.
Definition: GraphicsTypes.h:117
Diligent::COMPARISON_FUNC_EQUAL
@ COMPARISON_FUNC_EQUAL
Comparison passes if the source data is equal to the destination data. Direct3D counterpart: D3D11_C...
Definition: GraphicsTypes.h:946
Diligent::TEX_FORMAT_RGBA16_UINT
@ TEX_FORMAT_RGBA16_UINT
Four-component 64-bit unsigned-integer format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R1...
Definition: GraphicsTypes.h:385
Diligent::TEX_FORMAT_R24G8_TYPELESS
@ TEX_FORMAT_R24G8_TYPELESS
Two-component 32-bit typeless format with 24 bits for R and 8 bits for G channel. D3D counterpart: ...
Definition: GraphicsTypes.h:521
Diligent::TEX_FORMAT_R32_FLOAT_X8X24_TYPELESS
@ TEX_FORMAT_R32_FLOAT_X8X24_TYPELESS
Two-component 64-bit format with 32-bit floating-point R channel and 8+24-bits of typeless data....
Definition: GraphicsTypes.h:424
Diligent::PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of six control point patches. D3D counterpart: D3D_PRIMITIVE_TOP...
Definition: GraphicsTypes.h:1036
Diligent::Uint8
uint8_t Uint8
8-bit unsigned integer
Definition: BasicTypes.h:53
Diligent::DIRECT3D_FEATURE_LEVEL_12_1
@ DIRECT3D_FEATURE_LEVEL_12_1
Feature level 12.1.
Definition: GraphicsTypes.h:2076
Diligent::RENDER_DEVICE_TYPE_D3D11
@ RENDER_DEVICE_TYPE_D3D11
D3D11 device.
Definition: GraphicsTypes.h:1482
Diligent::BUFFER_VIEW_UNDEFINED
@ BUFFER_VIEW_UNDEFINED
Undefined view type.
Definition: GraphicsTypes.h:306
Diligent::FILTER_TYPE_LINEAR
@ FILTER_TYPE_LINEAR
Linear filtering.
Definition: GraphicsTypes.h:868
Diligent::FILTER_TYPE_COMPARISON_ANISOTROPIC
@ FILTER_TYPE_COMPARISON_ANISOTROPIC
Comparison-anisotropic filtering.
Definition: GraphicsTypes.h:872
Diligent::TEX_FORMAT_BC6H_UF16
@ TEX_FORMAT_BC6H_UF16
Three-component unsigned half-precision floating-point format with 16 bits for each channel....
Definition: GraphicsTypes.h:821
Diligent::TEX_FORMAT_BC4_SNORM
@ TEX_FORMAT_BC4_SNORM
One-component signed-normalized-integer block-compression format with 8 bits for R channel....
Definition: GraphicsTypes.h:734
Diligent::RENDER_DEVICE_TYPE_GLES
@ RENDER_DEVICE_TYPE_GLES
OpenGLES device.
Definition: GraphicsTypes.h:1485
Diligent::SWAP_CHAIN_USAGE_NONE
@ SWAP_CHAIN_USAGE_NONE
No allowed usage.
Definition: GraphicsTypes.h:1298
Diligent::SwapChainDesc::DefaultDepthValue
Float32 DefaultDepthValue
Default depth value, which is used as optimized depth clear value in D3D12.
Definition: GraphicsTypes.h:1382
Diligent::TEX_FORMAT_RGBA8_UNORM_SRGB
@ TEX_FORMAT_RGBA8_UNORM_SRGB
Four-component 32-bit unsigned-normalized-integer sRGB format with 8-bit channels....
Definition: GraphicsTypes.h:457
Diligent::TEXTURE_ADDRESS_CLAMP
@ TEXTURE_ADDRESS_CLAMP
Texture coordinates outside the range [0.0, 1.0] are set to the texture color at 0....
Definition: GraphicsTypes.h:905
Diligent::COMPONENT_TYPE_UNDEFINED
@ COMPONENT_TYPE_UNDEFINED
Undefined component type.
Definition: GraphicsTypes.h:2447
Diligent::DIRECT3D_FEATURE_LEVEL_10_1
@ DIRECT3D_FEATURE_LEVEL_10_1
Feature level 10.1.
Definition: GraphicsTypes.h:2064
Diligent::TEX_FORMAT_R16_UNORM
@ TEX_FORMAT_R16_UNORM
Single-component 16-bit unsigned-normalized-integer format. D3D counterpart: DXGI_FORMAT_R16_UNORM....
Definition: GraphicsTypes.h:572
Diligent::RESOURCE_STATE_BUILD_AS_READ
@ RESOURCE_STATE_BUILD_AS_READ
The resource is used as vertex/index/instance buffer in an AS building operation or as an acceleratio...
Definition: GraphicsTypes.h:2872
Diligent::COMPONENT_TYPE_UNORM_SRGB
@ COMPONENT_TYPE_UNORM_SRGB
Unsigned-normalized-integer sRGB component type.
Definition: GraphicsTypes.h:2459
DILIGENT_BEGIN_NAMESPACE
#define DILIGENT_BEGIN_NAMESPACE(Name)
Definition: CommonDefinitions.h:82
Diligent::DeviceCaps::NDCAttribs
Definition: GraphicsTypes.h:1881
Diligent::PIPELINE_STAGE_FLAG_CONDITIONAL_RENDERING
@ PIPELINE_STAGE_FLAG_CONDITIONAL_RENDERING
The stage of the pipeline where the predicate of conditional rendering is consumed.
Definition: GraphicsTypes.h:2688
Diligent::ACCESS_FLAG_CONDITIONAL_RENDERING_READ
@ ACCESS_FLAG_CONDITIONAL_RENDERING_READ
Read access to a predicate as part of conditional rendering.
Definition: GraphicsTypes.h:2789
Diligent::BIND_RENDER_TARGET
@ BIND_RENDER_TARGET
A texture can be bound as a render target.
Definition: GraphicsTypes.h:125
Diligent::ACCESS_FLAG_COPY_DST
@ ACCESS_FLAG_COPY_DST
Write access to an texture or buffer in a copy operation.
Definition: GraphicsTypes.h:2768
Diligent::OptimizedClearValue::Color
Float32 Color[4]
Render target clear value.
Definition: GraphicsTypes.h:1174
Diligent::ADAPTER_VENDOR_MSFT
@ ADAPTER_VENDOR_MSFT
Adapter vendor is Microsoft (software rasterizer)
Definition: GraphicsTypes.h:1778
Diligent::SCALING_MODE
SCALING_MODE
Flags indicating how an image is stretched to fit a given monitor's resolution.
Definition: GraphicsTypes.h:1230
Diligent::D3D11_DEBUG_FLAG_CREATE_DEBUG_DEVICE
@ D3D11_DEBUG_FLAG_CREATE_DEBUG_DEVICE
Whether to create Direct3D11 debug device.
Definition: GraphicsTypes.h:2044
Diligent::VT_FLOAT32
@ VT_FLOAT32
Full-precision 32-bit floating point.
Definition: GraphicsTypes.h:59
Diligent::PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of two control point patches. D3D counterpart: D3D_PRIMITIVE_TOP...
Definition: GraphicsTypes.h:1020
Diligent::TEX_FORMAT_BGRX8_UNORM_SRGB
@ TEX_FORMAT_BGRX8_UNORM_SRGB
Four-component 32-bit unsigned-normalized sRGB format with 8 bits for each color channel,...
Definition: GraphicsTypes.h:805
Diligent::QUERY_TYPE_TIMESTAMP
@ QUERY_TYPE_TIMESTAMP
Gets the GPU timestamp corresponding to IDeviceContext::EndQuery call. Fot this query type IDeviceCon...
Definition: GraphicsTypes.h:1462
Diligent::ADAPTER_VENDOR_ARM
@ ADAPTER_VENDOR_ARM
Adapter vendor is ARM.
Definition: GraphicsTypes.h:1769
Diligent::Box::Box
Box(Uint32 _MinX, Uint32 _MaxX, Uint32 _MinY, Uint32 _MaxY) noexcept
Definition: GraphicsTypes.h:2428
Diligent::SURFACE_TRANSFORM_ROTATE_90
@ SURFACE_TRANSFORM_ROTATE_90
The image content is rotated 90 degrees clockwise.
Definition: GraphicsTypes.h:1324
Diligent::RENDER_DEVICE_TYPE_GL
@ RENDER_DEVICE_TYPE_GL
OpenGL device.
Definition: GraphicsTypes.h:1484
Diligent::TEX_FORMAT_RGB9E5_SHAREDEXP
@ TEX_FORMAT_RGB9E5_SHAREDEXP
Three partial-precision floating pointer numbers sharing single exponent encoded into a 32-bit value....
Definition: GraphicsTypes.h:620
Diligent::USAGE_NUM_USAGES
@ USAGE_NUM_USAGES
Helper value indicating the total number of elements in the enum.
Definition: GraphicsTypes.h:182
Diligent::TextureFormatAttribs::TextureFormatAttribs
TextureFormatAttribs(const Char *_Name, TEXTURE_FORMAT _Format, Uint8 _ComponentSize, Uint8 _NumComponents, COMPONENT_TYPE _ComponentType, bool _IsTypeless, Uint8 _BlockWidth, Uint8 _BlockHeight) noexcept
Initializes the structure.
Definition: GraphicsTypes.h:2520
DEFINE_FLAG_ENUM_OPERATORS
DEFINE_FLAG_ENUM_OPERATORS(FILE_DIALOG_FLAGS)
Diligent::PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 19 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1088
Diligent::DeviceCaps::IsD3DDevice
bool IsD3DDevice() const
Definition: GraphicsTypes.h:1868
Diligent::TEX_FORMAT_RG16_TYPELESS
@ TEX_FORMAT_RG16_TYPELESS
Two-component 32-bit typeless format with 16-bit channels. D3D counterpart: DXGI_FORMAT_R16G16_TYPE...
Definition: GraphicsTypes.h:473
Diligent::BIND_RAY_TRACING
@ BIND_RAY_TRACING
A buffer can be used as a scratch buffer or as the source of primitive data for acceleration structur...
Definition: GraphicsTypes.h:130
Diligent::PIPELINE_STAGE_FLAG_FRAGMENT_DENSITY_PROCESS
@ PIPELINE_STAGE_FLAG_FRAGMENT_DENSITY_PROCESS
Definition: GraphicsTypes.h:2707
Diligent::FILTER_TYPE_COMPARISON_POINT
@ FILTER_TYPE_COMPARISON_POINT
Comparison-point filtering.
Definition: GraphicsTypes.h:870
Diligent::PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of 11 control point patches. D3D counterpart: D3D_PRIMITIVE_TOPO...
Definition: GraphicsTypes.h:1056
Diligent::DeviceCaps::IsGLDevice
bool IsGLDevice() const
Definition: GraphicsTypes.h:1864
Diligent::DeviceCaps::NDCAttribs::YtoVScale
const float YtoVScale
Definition: GraphicsTypes.h:1885
Diligent::PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of eight control point patches. D3D counterpart: D3D_PRIMITIVE_T...
Definition: GraphicsTypes.h:1044
Diligent::TEX_FORMAT_BC7_UNORM
@ TEX_FORMAT_BC7_UNORM
Three-component block-compression unsigned-normalized-integer format with 4 to 7 bits per color chann...
Definition: GraphicsTypes.h:845
Diligent::ACCESS_FLAG_MEMORY_READ
@ ACCESS_FLAG_MEMORY_READ
All read accesses. It is always valid in any access mask, and is treated as equivalent to setting all...
Definition: GraphicsTypes.h:2781
Diligent::RESOURCE_STATE
RESOURCE_STATE
Resource usage state.
Definition: GraphicsTypes.h:2814
Diligent::D3D11_DEBUG_FLAG_VERIFY_COMMITTED_SHADER_RESOURCES
@ D3D11_DEBUG_FLAG_VERIFY_COMMITTED_SHADER_RESOURCES
Before executing draw/dispatch command, verify that all required shader resources are bound to the de...
Definition: GraphicsTypes.h:2048
Diligent::COMPONENT_TYPE_DEPTH_STENCIL
@ COMPONENT_TYPE_DEPTH_STENCIL
Depth-stencil component type.
Definition: GraphicsTypes.h:2471
Diligent::COMPONENT_TYPE_UINT
@ COMPONENT_TYPE_UINT
Unsigned-integer component type.
Definition: GraphicsTypes.h:2465
Diligent::RESOURCE_DIMENSION
RESOURCE_DIMENSION
Describes resource dimension.
Definition: GraphicsTypes.h:256
Diligent::RENDER_DEVICE_TYPE_UNDEFINED
@ RENDER_DEVICE_TYPE_UNDEFINED
Undefined device.
Definition: GraphicsTypes.h:1481
Diligent::RESOURCE_STATE_INDEX_BUFFER
@ RESOURCE_STATE_INDEX_BUFFER
The resource is accessed as an index buffer.
Definition: GraphicsTypes.h:2829
Diligent::COMPARISON_FUNC_ALWAYS
@ COMPARISON_FUNC_ALWAYS
Comparison always passes. Direct3D counterpart: D3D11_COMPARISON_ALWAYS/D3D12_COMPARISON_FUNC_ALWAY...
Definition: GraphicsTypes.h:966
Diligent::VT_INT16
@ VT_INT16
Signed 16-bit integer.
Definition: GraphicsTypes.h:53
Diligent::TEX_FORMAT_B5G5R5A1_UNORM
@ TEX_FORMAT_B5G5R5A1_UNORM
Four-component 16-bit unsigned-normalized-integer format with 5 bits for each color channel and 1-bit...
Definition: GraphicsTypes.h:770
Diligent::DEVICE_FEATURE_STATE_ENABLED
@ DEVICE_FEATURE_STATE_ENABLED
Device feature is enabled.
Definition: GraphicsTypes.h:1553
Diligent::SwapChainDesc::DefaultStencilValue
Uint8 DefaultStencilValue
Default stencil value, which is used as optimized stencil clear value in D3D12.
Definition: GraphicsTypes.h:1385
Diligent::SCALING_MODE_STRETCHED
@ SCALING_MODE_STRETCHED
Specifies stretched scaling. D3D Counterpart: DXGI_MODE_SCALING_STRETCHED.
Definition: GraphicsTypes.h:1243
Diligent::ACCESS_FLAG_COPY_SRC
@ ACCESS_FLAG_COPY_SRC
Read access to an texture or buffer in a copy operation.
Definition: GraphicsTypes.h:2765
Diligent::RESOURCE_STATE_UNORDERED_ACCESS
@ RESOURCE_STATE_UNORDERED_ACCESS
The resource is used for unordered access.
Definition: GraphicsTypes.h:2835
Diligent::TEX_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
@ TEX_FORMAT_R10G10B10_XR_BIAS_A2_UNORM
Four-component 32-bit 2.8-biased fixed-point format with 10 bits for each color channel and 2-bit alp...
Definition: GraphicsTypes.h:785
Diligent::BUFFER_VIEW_TYPE
BUFFER_VIEW_TYPE
Buffer view type.
Definition: GraphicsTypes.h:303
Diligent::BIND_INDEX_BUFFER
@ BIND_INDEX_BUFFER
A buffer can be bound as an index buffer.
Definition: GraphicsTypes.h:119
Diligent::WAVE_FEATURE_SHUFFLE_RELATIVE
@ WAVE_FEATURE_SHUFFLE_RELATIVE
Definition: GraphicsTypes.h:1940
Diligent::FILTER_TYPE_MAXIMUM_ANISOTROPIC
@ FILTER_TYPE_MAXIMUM_ANISOTROPIC
Maximum-anisotropic filtering (DX12 only)
Definition: GraphicsTypes.h:878
Diligent::DepthStencilClearValue
Defines optimized depth-stencil clear value.
Definition: GraphicsTypes.h:1148
Diligent::ADAPTER_TYPE
ADAPTER_TYPE
Hardware adapter type.
Definition: GraphicsTypes.h:1215
Diligent::ACCESS_FLAG_SHADER_READ
@ ACCESS_FLAG_SHADER_READ
Read access from a shader resource, formatted buffer, UAV.
Definition: GraphicsTypes.h:2743
Diligent::MAP_TYPE
MAP_TYPE
Resource mapping type.
Definition: GraphicsTypes.h:206
Diligent::PIPELINE_STAGE_FLAG_RENDER_TARGET
@ PIPELINE_STAGE_FLAG_RENDER_TARGET
The stage of the pipeline after blending where the final color values are output from the pipeline....
Definition: GraphicsTypes.h:2670
Diligent::PIPELINE_STAGE_FLAG_HOST
@ PIPELINE_STAGE_FLAG_HOST
A pseudo-stage indicating execution on the host of reads/writes of device memory. This stage is not i...
Definition: GraphicsTypes.h:2685
Diligent::TEX_FORMAT_RG8_SINT
@ TEX_FORMAT_RG8_SINT
Two-component 16-bit signed-integer format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G8_S...
Definition: GraphicsTypes.h:554
Diligent::TEXTURE_VIEW_UNDEFINED
@ TEXTURE_VIEW_UNDEFINED
Undefined view type.
Definition: GraphicsTypes.h:277
Diligent::TEX_FORMAT_RG8_B8G8_UNORM
@ TEX_FORMAT_RG8_B8G8_UNORM
Four-component unsigned-normalized integer format analogous to UYVY encoding. D3D counterpart: DXGI...
Definition: GraphicsTypes.h:625
Diligent::TEX_FORMAT_R16_UINT
@ TEX_FORMAT_R16_UINT
Single-component 16-bit unsigned-integer format. D3D counterpart: DXGI_FORMAT_R16_UINT....
Definition: GraphicsTypes.h:576
Diligent::TEX_FORMAT_RGBA32_SINT
@ TEX_FORMAT_RGBA32_SINT
Four-component 128-bit signed-integer format with 32-bit channels. D3D counterpart: DXGI_FORMAT_R32...
Definition: GraphicsTypes.h:347
Diligent::MISC_TEXTURE_FLAGS
MISC_TEXTURE_FLAGS
Miscellaneous texture flags.
Definition: GraphicsTypes.h:975
Diligent::TEX_FORMAT_BC3_TYPELESS
@ TEX_FORMAT_BC3_TYPELESS
Four-component typeless block-compression format with 1:4 compression ratio. D3D counterpart: DXGI_F...
Definition: GraphicsTypes.h:690
Diligent::STATE_TRANSITION_TYPE_END
@ STATE_TRANSITION_TYPE_END
End split barrier. This mode only has effect in Direct3D12 backend, and corresponds to D3D12_RESOURCE...
Definition: GraphicsTypes.h:2907
Diligent::EngineVkCreateInfo
Attributes specific to Vulkan engine.
Definition: GraphicsTypes.h:2282
Diligent::TEX_FORMAT_RGBA8_TYPELESS
@ TEX_FORMAT_RGBA8_TYPELESS
Four-component 32-bit typeless format with 8-bit channels. D3D counterpart: DXGI_FORMAT_R8G8B8A8_TY...
Definition: GraphicsTypes.h:449
Diligent::TEX_FORMAT_RG8_UNORM
@ TEX_FORMAT_RG8_UNORM
Two-component 16-bit unsigned-normalized-integer format with 8-bit channels. D3D counterpart: DXGI_...
Definition: GraphicsTypes.h:542
Diligent::D3D11_DEBUG_FLAG_VERIFY_COMMITTED_RESOURCE_RELEVANCE
@ D3D11_DEBUG_FLAG_VERIFY_COMMITTED_RESOURCE_RELEVANCE
Verify that all committed cotext resources are relevant, i.e. they are consistent with the committed ...
Definition: GraphicsTypes.h:2053
Diligent::CPU_ACCESS_NONE
@ CPU_ACCESS_NONE
No CPU access.
Definition: GraphicsTypes.h:193
Diligent::ACCESS_FLAG_HOST_READ
@ ACCESS_FLAG_HOST_READ
Read access by a host operation. Accesses of this type are not performed through a resource,...
Definition: GraphicsTypes.h:2772
Diligent::QUERY_TYPE_PIPELINE_STATISTICS
@ QUERY_TYPE_PIPELINE_STATISTICS
Gets pipeline statistics, such as the number of pixel shader invocations in between IDeviceContext::B...
Definition: GraphicsTypes.h:1466
Diligent::USAGE_IMMUTABLE
@ USAGE_IMMUTABLE
A resource that can only be read by the GPU. It cannot be written by the GPU, and cannot be accessed ...
Definition: GraphicsTypes.h:150
Diligent::SHADER_TYPE_MESH
@ SHADER_TYPE_MESH
Mesh shader.
Definition: GraphicsTypes.h:75
Diligent::PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST
@ PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST
Interpret the vertex data as a list of four control point patches. D3D counterpart: D3D_PRIMITIVE_TO...
Definition: GraphicsTypes.h:1028
Diligent::ACCESS_FLAG_ACCELERATION_STRUCTURE_WRITE
@ ACCESS_FLAG_ACCELERATION_STRUCTURE_WRITE
Write access to an acceleration structure or acceleration structure scratch buffer as part of a build...
Definition: GraphicsTypes.h:2799
Diligent::TEXTURE_ADDRESS_WRAP
@ TEXTURE_ADDRESS_WRAP
Tile the texture at every integer junction. Direct3D Counterpart: D3D11_TEXTURE_ADDRESS_WRAP/D3D12_...
Definition: GraphicsTypes.h:896
Diligent::RESOURCE_STATE_DEPTH_WRITE
@ RESOURCE_STATE_DEPTH_WRITE
The resource is used in a writable depth-stencil view or in clear operation.
Definition: GraphicsTypes.h:2838
Diligent::TEXTURE_VIEW_SHADER_RESOURCE
@ TEXTURE_VIEW_SHADER_RESOURCE
A texture view will define a shader resource view that will be used as the source for the shader read...
Definition: GraphicsTypes.h:281
Diligent::RESOURCE_STATE_INDIRECT_ARGUMENT
@ RESOURCE_STATE_INDIRECT_ARGUMENT
The resource is used as an indirect draw/dispatch arguments buffer.
Definition: GraphicsTypes.h:2850
Diligent::PIPELINE_STAGE_FLAG_DOMAIN_SHADER
@ PIPELINE_STAGE_FLAG_DOMAIN_SHADER
Domain shader stage.
Definition: GraphicsTypes.h:2646
Diligent::SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270
@ SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270
The image content is mirrored horizontally, then rotated 270 degrees clockwise.
Definition: GraphicsTypes.h:1342
Diligent::VT_UINT8
@ VT_UINT8
Unsigned 8-bit integer.
Definition: GraphicsTypes.h:55
Diligent::TEX_FORMAT_BC2_UNORM_SRGB
@ TEX_FORMAT_BC2_UNORM_SRGB
Four-component signed-normalized-integer block-compression sRGB format with 5 bits for R,...
Definition: GraphicsTypes.h:682
Diligent::TEXTURE_ADDRESS_BORDER
@ TEXTURE_ADDRESS_BORDER
Texture coordinates outside the range [0.0, 1.0] are set to the border color specified in SamplerDesc...
Definition: GraphicsTypes.h:910
Diligent::WAVE_FEATURE_SHUFFLE
@ WAVE_FEATURE_SHUFFLE
Definition: GraphicsTypes.h:1939
Diligent::SCALING_MODE_CENTERED
@ SCALING_MODE_CENTERED
Specifies no scaling. The image is centered on the display. This flag is typically used for a fixed-d...
Definition: GraphicsTypes.h:1239
Diligent::SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90
@ SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90
The image content is mirrored horizontally, then rotated 90 degrees clockwise.
Definition: GraphicsTypes.h:1336
Diligent::ACCESS_FLAG_VERTEX_READ
@ ACCESS_FLAG_VERTEX_READ
Read access to a vertex buffer as part of a drawing command.
Definition: GraphicsTypes.h:2734
Diligent
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
Diligent::TEX_FORMAT_BC5_UNORM
@ TEX_FORMAT_BC5_UNORM
Two-component unsigned-normalized-integer block-compression format with 8 bits for R and 8 bits for G...
Definition: GraphicsTypes.h:751
Diligent::BIND_SHADER_RESOURCE
@ BIND_SHADER_RESOURCE
A buffer or a texture can be bound as a shader resource.
Definition: GraphicsTypes.h:122
Diligent::DeviceCaps::NDCAttribs::MinZ
const float MinZ
Definition: GraphicsTypes.h:1883
Diligent::DepthStencilClearValue::DepthStencilClearValue
DepthStencilClearValue() noexcept
Definition: GraphicsTypes.h:1156
Diligent::FullScreenModeDesc
Full screen mode description.
Definition: GraphicsTypes.h:1425
Diligent::SHADER_TYPE_ALL_RAY_TRACING
@ SHADER_TYPE_ALL_RAY_TRACING
All ray-tracing pipeline shader stages.
Definition: GraphicsTypes.h:97
Diligent::USAGE_DEFAULT
@ USAGE_DEFAULT
A resource that requires read and write access by the GPU and can also be occasionally written by the...
Definition: GraphicsTypes.h:156
Diligent::SCANLINE_ORDER_UNSPECIFIED
@ SCANLINE_ORDER_UNSPECIFIED
Scanline order is unspecified D3D Counterpart: DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED.
Definition: GraphicsTypes.h:1253
Diligent::OptimizedClearValue::Format
TEXTURE_FORMAT Format
Format.
Definition: GraphicsTypes.h:1171
Diligent::RESOURCE_STATE_SHADER_RESOURCE
@ RESOURCE_STATE_SHADER_RESOURCE
The resource is accessed from a shader.
Definition: GraphicsTypes.h:2844
Diligent::BUFFER_VIEW_NUM_VIEWS
@ BUFFER_VIEW_NUM_VIEWS
Helper value that stores that total number of buffer views.
Definition: GraphicsTypes.h:317
Diligent::RESOURCE_STATE_COPY_DEST
@ RESOURCE_STATE_COPY_DEST
The resource is used as the destination in a copy operation.
Definition: GraphicsTypes.h:2853
Diligent::PIPELINE_STAGE_FLAG_LATE_FRAGMENT_TESTS
@ PIPELINE_STAGE_FLAG_LATE_FRAGMENT_TESTS
The stage of the pipeline where late fragment tests (depth and stencil tests after fragment shading) ...
Definition: GraphicsTypes.h:2664
Diligent::PIPELINE_STAGE_FLAG_TOP_OF_PIPE
@ PIPELINE_STAGE_FLAG_TOP_OF_PIPE
The top of the pipeline.
Definition: GraphicsTypes.h:2631
Diligent::PIPELINE_STAGE_FLAG_MESH_SHADER
@ PIPELINE_STAGE_FLAG_MESH_SHADER
Mesh shader stage.
Definition: GraphicsTypes.h:2704