diff --git a/Source/Engine/Graphics/RenderTask.h b/Source/Engine/Graphics/RenderTask.h index 86fa20856..47a43363e 100644 --- a/Source/Engine/Graphics/RenderTask.h +++ b/Source/Engine/Graphics/RenderTask.h @@ -239,7 +239,7 @@ public: API_FUNCTION() void CameraCut(); /// - /// The output texture (can be null if using rendering to window swap chain). Can be sued to redirect the default scene rendering output to a texture. + /// The output texture (can be null if using rendering to window swap chain). Can be used to redirect the default scene rendering output to a texture. /// API_FIELD() GPUTexture* Output = nullptr; diff --git a/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.h b/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.h index 882277125..3b86634e3 100644 --- a/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.h +++ b/Source/Engine/GraphicsDevice/DirectX/DX12/CommandQueueDX12.h @@ -190,7 +190,7 @@ public: /// Executes a command list. /// /// The command list to execute. - /// The fence value after execution (can be sued to wait for it to sync parallel execution). + /// The fence value after execution (can be used to wait for it to sync parallel execution). uint64 ExecuteCommandList(ID3D12CommandList* list); /// diff --git a/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h b/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h index 4b3bf7093..32f64491e 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h +++ b/Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h @@ -759,7 +759,7 @@ public: /// /// Gets the sampler descriptor. /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The sampler. virtual void DescriptorAsSampler(GPUContextVulkan* context, VkSampler& sampler) { @@ -769,7 +769,7 @@ public: /// /// Gets the image descriptor. /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The image view. /// The image layout. virtual void DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout) @@ -780,7 +780,7 @@ public: /// /// Gets the storage image descriptor (VK_DESCRIPTOR_TYPE_STORAGE_IMAGE). /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The image view. /// The image layout. virtual void DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout) @@ -791,7 +791,7 @@ public: /// /// Gets the uniform texel buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER). /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The buffer view. virtual void DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, const VkBufferView*& bufferView) { @@ -801,7 +801,7 @@ public: /// /// Gets the storage buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_BUFFER). /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The buffer. /// The range offset (in bytes). /// The range size (in bytes). @@ -813,7 +813,7 @@ public: /// /// Gets the storage texel buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER). /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The buffer view. virtual void DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, const VkBufferView*& bufferView) { @@ -823,7 +823,7 @@ public: /// /// Gets the dynamic uniform buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC). /// - /// The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline. + /// The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline. /// The buffer. /// The range offset (in bytes). /// The range size (in bytes). diff --git a/Source/Engine/Physics/CollisionData.h b/Source/Engine/Physics/CollisionData.h index 9242b8203..81368ec93 100644 --- a/Source/Engine/Physics/CollisionData.h +++ b/Source/Engine/Physics/CollisionData.h @@ -205,7 +205,7 @@ public: /// The collision data type. /// The source model. /// The source model LOD index. - /// The source model material slots mask. One bit per-slot. Can be sued to exclude particular material slots from collision cooking. + /// The source model material slots mask. One bit per-slot. Can be used to exclude particular material slots from collision cooking. /// The convex mesh generation flags. /// The convex mesh vertex limit. Use values in range [8;255] API_FUNCTION() bool CookCollision(CollisionDataType type, ModelBase* model, int32 modelLodIndex = 0, uint32 materialSlotsMask = MAX_uint32, ConvexMeshGenerationFlags convexFlags = ConvexMeshGenerationFlags::None, int32 convexVertexLimit = 255);