diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-19 03:02:52 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-19 04:17:01 +0300 |
commit | 3e2017491ae62ed1b6436484b227ef7542f599aa (patch) | |
tree | f951f2b9e8a866ef64115f11cc5c1d9b035dd699 /source/blender/gpu | |
parent | 30e666f747bae89d50029cbcc505ffa9a12ab05e (diff) |
Cleanup: spelling in comments & move doc-strings to headers
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/GPU_storage_buffer.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/gpu/GPU_storage_buffer.h b/source/blender/gpu/GPU_storage_buffer.h index 739b0784317..ca6a848786b 100644 --- a/source/blender/gpu/GPU_storage_buffer.h +++ b/source/blender/gpu/GPU_storage_buffer.h @@ -48,12 +48,13 @@ void GPU_storagebuf_clear(GPUStorageBuf *ssbo, void GPU_storagebuf_clear_to_zero(GPUStorageBuf *ssbo); /** - * @brief Copy a part of a vertex buffer to a storage buffer. - * \a ssbo: destination storage buffer - * \a src: source vertex buffer - * \a dst_offset: where to start copying to (in bytes). - * \a src_offset: where to start copying from (in bytes). - * \a copy_size: byte size of the segment to copy. + * \brief Copy a part of a vertex buffer to a storage buffer. + * + * \param ssbo: destination storage buffer + * \param src: source vertex buffer + * \param dst_offset: where to start copying to (in bytes). + * \param src_offset: where to start copying from (in bytes). + * \param copy_size: byte size of the segment to copy. */ void GPU_storagebuf_copy_sub_from_vertbuf( GPUStorageBuf *ssbo, GPUVertBuf *src, uint dst_offset, uint src_offset, uint copy_size); |