11/*
2- * Copyright 2019-2023 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.
@@ -77,6 +77,7 @@ typedef struct ResourceSignatureUnpackInfo ResourceSignatureUnpackInfo;
7777/// Pipeline state archive flags
7878DILIGENT_TYPED_ENUM (PSO_ARCHIVE_FLAGS , Uint32 )
7979{
80+ /// No flags are set
8081 PSO_ARCHIVE_FLAG_NONE = 0u ,
8182
8283 /// By default, shader reflection information will be preserved
@@ -101,6 +102,7 @@ DEFINE_FLAG_ENUM_OPERATORS(PSO_ARCHIVE_FLAGS)
101102/// Pipeline state unpack flags
102103DILIGENT_TYPED_ENUM (PSO_UNPACK_FLAGS , Uint32 )
103104{
105+ /// No flags are set
104106 PSO_UNPACK_FLAG_NONE = 0u ,
105107
106108 /// Do not perform validation when unpacking the pipeline state.
@@ -149,26 +151,25 @@ struct PipelineStateUnpackInfo
149151 /// Optional PSO cache.
150152 IPipelineStateCache * pCache DEFAULT_INITIALIZER (nullptr );
151153
152- /// An optional function to be called by the dearchiver to let the application modify
153- /// the pipeline state create info.
154- ///
155- /// \remarks An application should check the pipeline type (PipelineCI.Desc.PipelineType) and cast
156- /// the reference to the appropriate PSO create info struct, e.g. for PIPELINE_TYPE_GRAPHICS:
154+ /// An optional function to be called by the dearchiver to let the application modify the pipeline state create info.
155+
156+ /// An application should check the pipeline type (PipelineCI.Desc.PipelineType) and cast
157+ /// the reference to the appropriate PSO create info struct, e.g. for PIPELINE_TYPE_GRAPHICS:
157158 ///
158- /// auto& GraphicsPipelineCI = static_cast<GraphicsPipelineStateCreateInfo>(PipelineCI);
159+ /// auto& GraphicsPipelineCI = static_cast<GraphicsPipelineStateCreateInfo>(PipelineCI);
159160 ///
160- /// Modifying graphics pipeline states (e.g. rasterizer, depth-stencil, blend, render
161- /// target formats, etc.) is the most expected usage of the callback.
161+ /// Modifying graphics pipeline states (e.g. rasterizer, depth-stencil, blend, render
162+ /// target formats, etc.) is the most expected usage of the callback.
162163 ///
163- /// The following members of the structure must not be modified:
164- /// - PipelineCI.PSODesc.PipelineType
165- /// - PipelineCI.PSODesc.ResourceLayout
166- /// - PipelineCI.ppResourceSignatures
167- /// - PipelineCI.ResourceSignaturesCount
164+ /// The following members of the structure must not be modified:
165+ /// - ` PipelineCI.PSODesc.PipelineType`
166+ /// - ` PipelineCI.PSODesc.ResourceLayout`
167+ /// - ` PipelineCI.ppResourceSignatures`
168+ /// - ` PipelineCI.ResourceSignaturesCount`
168169 ///
169- /// An application may modify shader pointers (e.g. GraphicsPipelineCI.pVS), but it must
170- /// ensure that the shader layout is compatible with the pipeline state, otherwise hard-to-debug
171- /// errors will occur.
170+ /// An application may modify shader pointers (e.g. GraphicsPipelineCI.pVS), but it must
171+ /// ensure that the shader layout is compatible with the pipeline state, otherwise hard-to-debug
172+ /// errors will occur.
172173 void (* ModifyPipelineStateCreateInfo )(PipelineStateCreateInfo REF PipelineCI , void * pUserData ) DEFAULT_INITIALIZER (nullptr );
173174
174175 /// A pointer to the user data to pass to the ModifyPipelineStateCreateInfo function.
@@ -266,7 +267,7 @@ DILIGENT_BEGIN_INTERFACE(IDearchiver, IObject)
266267 ///
267268 /// \note Resource signatures used by the PSO will be unpacked from the same archive.
268269 ///
269- /// This method is thread-safe.
270+ /// \note This method is thread-safe.
270271 VIRTUAL void METHOD (UnpackPipelineState )(THIS_
271272 const PipelineStateUnpackInfo REF UnpackInfo ,
272273 IPipelineState * * ppPSO ) PURE ;
0 commit comments