@@ -163,7 +163,7 @@ DILIGENT_TYPED_ENUM(BIND_FLAGS, Uint32)
163163 ///< A texture can be used as shading rate texture.
164164 BIND_SHADING_RATE = 1u << 11u ,
165165
166- BIND_FLAGS_LAST = BIND_SHADING_RATE
166+ BIND_FLAG_LAST = BIND_SHADING_RATE
167167};
168168DEFINE_FLAG_ENUM_OPERATORS (BIND_FLAGS )
169169
@@ -1475,7 +1475,7 @@ struct SwapChainDesc
14751475
14761476 /// Indicates if this is a primary swap chain. When Present() is called
14771477 /// for the primary swap chain, the engine releases stale resources.
1478- bool IsPrimary DEFAULT_INITIALIZER (true );
1478+ Bool IsPrimary DEFAULT_INITIALIZER (true );
14791479
14801480#if DILIGENT_CPP_INTERFACE
14811481 constexpr SwapChainDesc () noexcept
@@ -1494,7 +1494,7 @@ struct SwapChainDesc
14941494 Uint32 _BufferCount = SwapChainDesc {}.BufferCount ,
14951495 Float32 _DefaultDepthValue = SwapChainDesc {}.DefaultDepthValue ,
14961496 Uint8 _DefaultStencilValue = SwapChainDesc {}.DefaultStencilValue ,
1497- bool _IsPrimary = SwapChainDesc {}.IsPrimary ) :
1497+ Bool _IsPrimary = SwapChainDesc {}.IsPrimary ) :
14981498 Width {_Width },
14991499 Height {_Height },
15001500 ColorBufferFormat {_ColorBufferFormat },
@@ -3323,7 +3323,7 @@ struct EngineCreateInfo
33233323 /// debug layer, enable Vulkan validation layers, create debug OpenGL context, etc.).
33243324 /// The validation is enabled by default in Debug/Development builds and disabled
33253325 /// in release builds.
3326- bool EnableValidation DEFAULT_INITIALIZER (false );
3326+ Bool EnableValidation DEFAULT_INITIALIZER (false );
33273327
33283328 /// Validation options, see Diligent::VALIDATION_FLAGS.
33293329 VALIDATION_FLAGS ValidationFlags DEFAULT_INITIALIZER (VALIDATION_FLAG_NONE );
@@ -3363,7 +3363,7 @@ struct EngineGLCreateInfo DILIGENT_DERIVE(EngineCreateInfo)
33633363
33643364 /// Enable 0..1 normalized-device Z range, if required extension is supported; -1..+1 otherwise.
33653365 /// Use IRenderDevice::GetDeviceInfo().NDC to get current NDC.
3366- bool ZeroToOneNDZ DEFAULT_INITIALIZER (false );
3366+ Bool ZeroToOneNDZ DEFAULT_INITIALIZER (false );
33673367
33683368#if DILIGENT_CPP_INTERFACE
33693369 EngineGLCreateInfo () noexcept : EngineGLCreateInfo {EngineCreateInfo {}}
@@ -3914,7 +3914,7 @@ struct TextureFormatAttribs
39143914 COMPONENT_TYPE ComponentType DEFAULT_INITIALIZER (COMPONENT_TYPE_UNDEFINED );
39153915
39163916 /// Bool flag indicating if the format is a typeless format
3917- bool IsTypeless DEFAULT_INITIALIZER (false );
3917+ Bool IsTypeless DEFAULT_INITIALIZER (false );
39183918
39193919 /// For block-compressed formats, compression block width
39203920 Uint8 BlockWidth DEFAULT_INITIALIZER (0 );
@@ -3962,10 +3962,10 @@ typedef struct TextureFormatAttribs TextureFormatAttribs;
39623962struct TextureFormatInfo DILIGENT_DERIVE (TextureFormatAttribs )
39633963
39643964 /// Indicates if the format is supported by the device
3965- bool Supported DEFAULT_INITIALIZER (false );
3965+ Bool Supported DEFAULT_INITIALIZER (false );
39663966
39673967 // Explicitly pad the structure to 8-byte boundary
3968- bool Padding [7 ] DEFAULT_INITIALIZER ({});
3968+ Bool Padding [7 ] DEFAULT_INITIALIZER ({});
39693969};
39703970typedef struct TextureFormatInfo TextureFormatInfo ;
39713971
0 commit comments