Fix typos

This commit is contained in:
2021-07-19 16:17:10 +02:00
parent 09c7642819
commit 5cbf091a7a
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ public:
API_FUNCTION() void CameraCut();
/// <summary>
/// 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.
/// </summary>
API_FIELD() GPUTexture* Output = nullptr;
@@ -190,7 +190,7 @@ public:
/// Executes a command list.
/// </summary>
/// <param name="list">The command list to execute.</param>
/// <returns>The fence value after execution (can be sued to wait for it to sync parallel execution).</returns>
/// <returns>The fence value after execution (can be used to wait for it to sync parallel execution).</returns>
uint64 ExecuteCommandList(ID3D12CommandList* list);
/// <summary>
@@ -759,7 +759,7 @@ public:
/// <summary>
/// Gets the sampler descriptor.
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="sampler">The sampler.</param>
virtual void DescriptorAsSampler(GPUContextVulkan* context, VkSampler& sampler)
{
@@ -769,7 +769,7 @@ public:
/// <summary>
/// Gets the image descriptor.
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="imageView">The image view.</param>
/// <param name="layout">The image layout.</param>
virtual void DescriptorAsImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
@@ -780,7 +780,7 @@ public:
/// <summary>
/// Gets the storage image descriptor (VK_DESCRIPTOR_TYPE_STORAGE_IMAGE).
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="imageView">The image view.</param>
/// <param name="layout">The image layout.</param>
virtual void DescriptorAsStorageImage(GPUContextVulkan* context, VkImageView& imageView, VkImageLayout& layout)
@@ -791,7 +791,7 @@ public:
/// <summary>
/// Gets the uniform texel buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER).
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="bufferView">The buffer view.</param>
virtual void DescriptorAsUniformTexelBuffer(GPUContextVulkan* context, const VkBufferView*& bufferView)
{
@@ -801,7 +801,7 @@ public:
/// <summary>
/// Gets the storage buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_BUFFER).
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="buffer">The buffer.</param>
/// <param name="offset">The range offset (in bytes).</param>
/// <param name="range">The range size (in bytes).</param>
@@ -813,7 +813,7 @@ public:
/// <summary>
/// Gets the storage texel buffer descriptor (VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER).
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="bufferView">The buffer view.</param>
virtual void DescriptorAsStorageTexelBuffer(GPUContextVulkan* context, const VkBufferView*& bufferView)
{
@@ -823,7 +823,7 @@ public:
/// <summary>
/// Gets the dynamic uniform buffer descriptor (VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC).
/// </summary>
/// <param name="context">The GPU context. Can be sued to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="context">The GPU context. Can be used to add memory barriers to the pipeline before binding the descriptor to the pipeline.</param>
/// <param name="buffer">The buffer.</param>
/// <param name="offset">The range offset (in bytes).</param>
/// <param name="range">The range size (in bytes).</param>
+1 -1
View File
@@ -205,7 +205,7 @@ public:
/// <param name="type">The collision data type.</param>
/// <param name="model">The source model.</param>
/// <param name="modelLodIndex">The source model LOD index.</param>
/// <param name="materialSlotsMask">The source model material slots mask. One bit per-slot. Can be sued to exclude particular material slots from collision cooking.</param>
/// <param name="materialSlotsMask">The source model material slots mask. One bit per-slot. Can be used to exclude particular material slots from collision cooking.</param>
/// <param name="convexFlags">The convex mesh generation flags.</param>
/// <param name="convexVertexLimit">The convex mesh vertex limit. Use values in range [8;255]</param>
API_FUNCTION() bool CookCollision(CollisionDataType type, ModelBase* model, int32 modelLodIndex = 0, uint32 materialSlotsMask = MAX_uint32, ConvexMeshGenerationFlags convexFlags = ConvexMeshGenerationFlags::None, int32 convexVertexLimit = 255);