@@ -88,8 +88,8 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
8888 /// so that the new buffer will have one reference and must be
8989 /// released by a call to Release().
9090 ///
91- /// \remarks
92- /// Size of a uniform buffer (BIND_UNIFORM_BUFFER) must be multiple of 16.\n
91+ /// Size of a uniform buffer (Diligent::BIND_UNIFORM_BUFFER) must be multiple of 16.
92+ ///
9393 /// Stride of a formatted buffer will be computed automatically from the format if
9494 /// ElementByteStride member of buffer description is set to default value (0).
9595 VIRTUAL void METHOD (CreateBuffer )(THIS_
@@ -108,10 +108,10 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
108108 /// the compiler output data blob will be written.
109109 /// If null, the compiler output will be ignored.
110110 ///
111- /// \remarks The buffer returned in ppCompilerOutput contains two null-terminated strings.
112- /// The first one is the compiler output message. The second one is the full
113- /// shader source code including definitions added by the engine. The data blob
114- /// object must be released by the client.
111+ /// The buffer returned in ppCompilerOutput contains two null-terminated strings.
112+ /// The first one is the compiler output message. The second one is the full
113+ /// shader source code including definitions added by the engine. The data blob
114+ /// object must be released by the client.
115115 VIRTUAL void METHOD (CreateShader )(THIS_
116116 const ShaderCreateInfo REF ShaderCI ,
117117 IShader * * ppShader ,
@@ -128,17 +128,22 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
128128 /// texture interface will be written.
129129 /// The function calls AddRef(), so that the new object will have
130130 /// one reference.
131- /// \remarks
132- /// To create all mip levels, set the TexDesc.MipLevels to zero.\n
133- /// Multisampled resources cannot be initialized with data when they are created. \n
131+ ///
132+ /// To create all mip levels, set the TexDesc.MipLevels to zero.
133+ ///
134+ /// Multisampled resources cannot be initialized with data when they are created.
135+ ///
134136 /// If initial data is provided, number of subresources must exactly match the number
135137 /// of subresources in the texture (which is the number of mip levels times the number of array slices.
136138 /// For a 3D texture, this is just the number of mip levels).
137139 /// For example, for a 15 x 6 x 2 2D texture array, the following array of subresources should be
138- /// provided: \n
139- /// 15x6, 7x3, 3x1, 1x1, 15x6, 7x3, 3x1, 1x1.\n
140- /// For a 15 x 6 x 4 3D texture, the following array of subresources should be provided:\n
141- /// 15x6x4, 7x3x2, 3x1x1, 1x1x1
140+ /// provided:
141+ ///
142+ /// 15x6, 7x3, 3x1, 1x1, 15x6, 7x3, 3x1, 1x1.
143+ ///
144+ /// For a 15 x 6 x 4 3D texture, the following array of subresources should be provided:
145+ ///
146+ /// 15x6x4, 7x3x2, 3x1x1, 1x1x1
142147 VIRTUAL void METHOD (CreateTexture )(THIS_
143148 const TextureDesc REF TexDesc ,
144149 const TextureData * pData ,
@@ -151,9 +156,11 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
151156 /// sampler interface will be written.
152157 /// The function calls AddRef(), so that the new object will have
153158 /// one reference.
154- /// \remark If an application attempts to create a sampler interface with the same attributes
155- /// as an existing interface, the same interface will be returned.
156- /// \note In D3D11, 4096 unique sampler state objects can be created on a device at a time.
159+ ///
160+ /// If an application attempts to create a sampler interface with the same attributes
161+ /// as an existing interface, the same interface will be returned.
162+ ///
163+ /// In D3D11, 4096 unique sampler state objects can be created on a device at a time.
157164 VIRTUAL void METHOD (CreateSampler )(THIS_
158165 const SamplerDesc REF SamDesc ,
159166 ISampler * * ppSampler ) PURE ;
@@ -329,8 +336,8 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
329336 /// The function calls AddRef(), so that the new object will have
330337 /// one reference.
331338 ///
332- /// \remarks On devices that don't support pipeline state caches (e.g. Direct3D11, OpenGL),
333- /// the method will silently do nothing.
339+ /// On devices that don't support pipeline state caches (e.g. Direct3D11, OpenGL),
340+ /// the method will silently do nothing.
334341 VIRTUAL void METHOD (CreatePipelineStateCache )(THIS_
335342 const PipelineStateCacheCreateInfo REF CreateInfo ,
336343 IPipelineStateCache * * ppPSOCache ) PURE ;
@@ -366,12 +373,14 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
366373 /// Returns the extended texture format information.
367374
368375 /// See Diligent::TextureFormatInfoExt for details on the provided information.
376+ ///
369377 /// \param [in] TexFormat - Texture format for which to provide the information
370378 /// \return Const reference to the TextureFormatInfoExt structure containing the
371379 /// extended texture format description.
372- /// \remark The first time this method is called for a particular format, it may be
373- /// considerably slower than GetTextureFormatInfo(). If you do not require
374- /// extended information, call GetTextureFormatInfo() instead.
380+ ///
381+ /// The first time this method is called for a particular format, it may be
382+ /// considerably slower than GetTextureFormatInfo(). If you do not require
383+ /// extended information, call GetTextureFormatInfo() instead.
375384 ///
376385 /// \remarks This method must be externally synchronized.
377386 VIRTUAL const TextureFormatInfoExt REF METHOD (GetTextureFormatInfoExt )(THIS_
@@ -397,22 +406,24 @@ DILIGENT_BEGIN_INTERFACE(IRenderDevice, IObject)
397406
398407 /// \note The method blocks the execution of the calling thread until the GPU is idle.
399408 ///
400- /// \remarks The method does not flush immediate contexts, so it will only wait for commands that
401- /// have been previously submitted for execution. An application should explicitly flush
402- /// the contexts using IDeviceContext::Flush() if it needs to make sure all recorded commands
403- /// are complete when the method returns.
409+ /// The method does not flush immediate contexts, so it will only wait for commands that
410+ /// the contexts using IDeviceContext::Flush() if it needs to make sure all recorded commands
411+ /// have been previously submitted for execution. An application should explicitly flush
412+ /// are complete when the method returns.
404413 VIRTUAL void METHOD (IdleGPU )(THIS ) PURE ;
405414
406415
407416 /// Returns engine factory this device was created from.
408- /// \remarks This method does not increment the reference counter of the returned interface,
409- /// so an application should not call Release().
417+
418+ /// This method does not increment the reference counter of the returned interface,
419+ /// so an application must not call Release().
410420 VIRTUAL IEngineFactory * METHOD (GetEngineFactory )(THIS ) CONST PURE ;
411421
412422
413423 /// Returns a pointer to the shader compilation thread pool.
414- /// \remarks This method does not increment the reference counter of the returned interface,
415- /// so an application should not call Release().
424+
425+ /// This method does not increment the reference counter of the returned interface,
426+ /// so an application must not call Release().
416427 VIRTUAL IThreadPool * METHOD (GetShaderCompilationThreadPool )(THIS ) CONST PURE ;
417428
418429#if DILIGENT_CPP_INTERFACE
0 commit comments