summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-09-18 16:12:16 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-09-18 16:12:16 +0000
commitf758fc53ec95113a5fbb7453cec8b1c79922e6b0 (patch)
treed92a44473f2f9a1dea287ca80fbb8f034b5b4e38 /Graphics
parentD3D12 backend: updated debug interface settings (diff)
downloadDiligentCore-f758fc53ec95113a5fbb7453cec8b1c79922e6b0.tar.gz
DiligentCore-f758fc53ec95113a5fbb7453cec8b1c79922e6b0.zip
Fixed typos
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/GraphicsEngine/interface/RenderDevice.h14
-rw-r--r--Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h2
-rw-r--r--Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h4
-rw-r--r--Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h2
4 files changed, 11 insertions, 11 deletions
diff --git a/Graphics/GraphicsEngine/interface/RenderDevice.h b/Graphics/GraphicsEngine/interface/RenderDevice.h
index 1079ec16..fd790607 100644
--- a/Graphics/GraphicsEngine/interface/RenderDevice.h
+++ b/Graphics/GraphicsEngine/interface/RenderDevice.h
@@ -68,7 +68,7 @@ public:
/// Static buffers (USAGE_STATIC) must be initialized at creation time.
/// \param [out] ppBuffer - Address of the memory location where the pointer to the
/// buffer interface will be stored. The function calls AddRef(),
- /// so that the new buffer will contain one refernce and must be
+ /// so that the new buffer will contain one reference and must be
/// released by a call to Release().
///
/// \remarks
@@ -85,7 +85,7 @@ public:
/// \param [out] ppShader - Address of the memory location where the pointer to the
/// shader interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
virtual void CreateShader(const ShaderCreateInfo& ShaderCI,
IShader** ppShader) = 0;
@@ -99,7 +99,7 @@ public:
/// \param [out] ppTexture - Address of the memory location where the pointer to the
/// texture interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
/// \remarks
/// To create all mip levels, set the TexDesc.MipLevels to zero.\n
/// Multisampled resources cannot be initialzed with data when they are created. \n
@@ -121,7 +121,7 @@ public:
/// \param [out] ppSampler - Address of the memory location where the pointer to the
/// sampler interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
/// \remark If an application attempts to create a sampler interface with the same attributes
/// as an existing interface, the same interface will be returned.
/// \note In D3D11, 4096 unique sampler state objects can be created on a device at a time.
@@ -134,7 +134,7 @@ public:
/// \param [out] ppMapping - Address of the memory location where the pointer to the
/// resource mapping interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
virtual void CreateResourceMapping( const ResourceMappingDesc& MappingDesc,
IResourceMapping** ppMapping ) = 0;
@@ -144,7 +144,7 @@ public:
/// \param [out] ppPipelineState - Address of the memory location where the pointer to the
/// pipeline state interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
virtual void CreatePipelineState( const PipelineStateDesc& PipelineDesc,
IPipelineState** ppPipelineState ) = 0;
@@ -155,7 +155,7 @@ public:
/// \param [out] ppFence - Address of the memory location where the pointer to the
/// fence interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
virtual void CreateFence( const FenceDesc& Desc,
IFence** ppFence) = 0;
diff --git a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
index 393e4a32..76d8e1b1 100644
--- a/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
+++ b/Graphics/GraphicsEngineD3D12/interface/RenderDeviceD3D12.h
@@ -62,7 +62,7 @@ public:
/// \param [out] ppTexture - Address of the memory location where the pointer to the
/// texture interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
virtual void CreateTextureFromD3DResource(ID3D12Resource* pd3d12Texture,
RESOURCE_STATE InitialState,
ITexture** ppTexture) = 0;
diff --git a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
index b5b03671..844b7f46 100644
--- a/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
+++ b/Graphics/GraphicsEngineOpenGL/interface/RenderDeviceGL.h
@@ -51,7 +51,7 @@ public:
/// \param [out] ppTexture - Address of the memory location where the pointer to the
/// texture interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
/// \note Diligent engine texture object does not take ownership of the GL resource,
/// and the application must not destroy it while it is in use by the engine.
virtual void CreateTextureFromGLHandle(Uint32 GLHandle,
@@ -69,7 +69,7 @@ public:
/// \param [out] ppBuffer - Address of the memory location where the pointer to the
/// texture interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
/// \note Diligent engine buffer object does not take ownership of the GL resource,
/// and the application must not destroy it while it is in use by the engine.
virtual void CreateBufferFromGLHandle(Uint32 GLHandle,
diff --git a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h
index c4b3fb9b..00562c79 100644
--- a/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h
+++ b/Graphics/GraphicsEngineVulkan/interface/RenderDeviceVk.h
@@ -63,7 +63,7 @@ public:
/// \param [out] ppTexture - Address of the memory location where the pointer to the
/// texture interface will be stored.
/// The function calls AddRef(), so that the new object will contain
- /// one refernce.
+ /// one reference.
/// \note Created texture object does not take ownership of the Vulkan image and will not
/// destroy it once released. The application must not destroy the image while it is
/// in use by the engine.