11/*
2- * Copyright 2019-2024 Diligent Graphics LLC
2+ * Copyright 2019-2025 Diligent Graphics LLC
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -107,7 +107,7 @@ struct SerializationDeviceGLInfo
107107 // / When OptimizeShaders is set to true, the archiver will optimize the shader
108108 // / source code for run-time loading performance.
109109 // /
110- // / Technical details: the archiver will compile the shader source code to SPIRV
110+ // / \remarks Technical details: the archiver will compile the shader source code to SPIRV
111111 // / with GLSLang and then translate SPIRV back to GLSL using SPIRV-Cross.
112112 // / The resulting GLSL code will be much more compact and will be stored in the
113113 // / archive instead of the original source code.
@@ -160,7 +160,6 @@ struct SerializationDeviceVkInfo
160160 return !(*this == RHS);
161161 }
162162#endif
163-
164163};
165164typedef struct SerializationDeviceVkInfo SerializationDeviceVkInfo;
166165
@@ -201,13 +200,15 @@ typedef struct SerializationDeviceMtlInfo SerializationDeviceMtlInfo;
201200struct SerializationDeviceCreateInfo
202201{
203202 // / Device info, contains enabled device features.
204- // / Can be used to validate shader, render pass, resource signature and pipeline state.
203+
204+ // / Can be used to validate shaders, render passes, resource signatures and pipeline states.
205205 // /
206206 // / \note For OpenGL that does not support separable programs, disable the SeparablePrograms feature.
207207 RenderDeviceInfo DeviceInfo;
208208
209209 // / Adapter info, contains device parameters.
210- // / Can be used to validate shader, render pass, resource signature and pipeline state.
210+
211+ // / Can be used to validate shaders, render passes, resource signatures and pipeline states.
211212 GraphicsAdapterInfo AdapterInfo;
212213
213214 // / Direct3D11 attributes, see Diligent::SerializationDeviceD3D11Info.
@@ -229,14 +230,14 @@ struct SerializationDeviceCreateInfo
229230 IThreadPool* pAsyncShaderCompilationThreadPool DEFAULT_INITIALIZER (nullptr );
230231
231232 // / The maximum number of threads that can be used to compile shaders.
232- // /
233- // / \remarks If pAsyncShaderCompilationThreadPool is null, this value is used to define the number of threads in
234- // / the default thread pool.
235- // / If the value is 0xFFFFFFFF, the number of threads will be determined automatically.
236- // / If the value is 0 , the default thread pool will not be created.
233+
234+ // / If ` pAsyncShaderCompilationThreadPool` is ` null` , this value is used to define the number of threads in
235+ // / the default thread pool.
236+ // / If the value is ` 0xFFFFFFFF` , the number of threads will be determined automatically.
237+ // / If the value is `0` , the default thread pool will not be created.
237238 // /
238- // / If pAsyncShaderCompilationThreadPool is not null, the value is ignored as the user-provided
239- // / thread pool is used instead.
239+ // / If ` pAsyncShaderCompilationThreadPool` is not ` null` , the value is ignored as the user-provided
240+ // / thread pool is used instead.
240241 Uint32 NumAsyncShaderCompilationThreads DEFAULT_INITIALIZER (0 );
241242
242243#if DILIGENT_CPP_INTERFACE
@@ -289,7 +290,7 @@ DILIGENT_BEGIN_INTERFACE(IArchiverFactory, IObject)
289290 // / \param [in] pSrcArchive - Source archive from which device specific-data will be removed.
290291 // / \param [in] DeviceFlags - Combination of device types that will be removed.
291292 // / \param [out] ppDstArchive - Memory address where a pointer to the new archive will be written.
292- // / \return true if the device-specific data was successfully removed, and false otherwise.
293+ // / \return ` true` if the device-specific data was successfully removed, and ` false` otherwise.
293294 VIRTUAL Bool METHOD (RemoveDeviceData)(THIS_
294295 const IDataBlob* pSrcArchive,
295296 ARCHIVE_DEVICE_DATA_FLAGS DeviceFlags,
@@ -302,7 +303,7 @@ DILIGENT_BEGIN_INTERFACE(IArchiverFactory, IObject)
302303 // / \param [in] DeviceFlags - Combination of device types that will be copied.
303304 // / \param [in] pDeviceArchive - Archive that contains the same common data and additional device-specific data.
304305 // / \param [out] ppDstArchive - Memory address where a pointer to the new archive will be written.
305- // / \return true if the device-specific data was successfully added, and false otherwise.
306+ // / \return ` true` if the device-specific data was successfully added, and ` false` otherwise.
306307 VIRTUAL Bool METHOD (AppendDeviceData)(THIS_
307308 const IDataBlob* pSrcArchive,
308309 ARCHIVE_DEVICE_DATA_FLAGS DeviceFlags,
@@ -313,9 +314,9 @@ DILIGENT_BEGIN_INTERFACE(IArchiverFactory, IObject)
313314 // / Merges multiple archives into one.
314315
315316 // / \param [in] ppSrcArchives - An array of pointers to the source archives.
316- // / \param [in] NumSrcArchives - The number of elements in ppArchives array.
317+ // / \param [in] NumSrcArchives - The number of elements in ` ppArchives` array.
317318 // / \param [out] ppDstArchive - Memory address where a pointer to the merged archive will be written.
318- // / \return true if the archives were successfully merged, and false otherwise.
319+ // / \return ` true` if the archives were successfully merged, and ` false` otherwise.
319320 VIRTUAL Bool METHOD (MergeArchives)(THIS_
320321 const IDataBlob* ppSrcArchives[],
321322 Uint32 NumSrcArchives,
0 commit comments