Skip to content

Commit d90f3e4

Browse files
committed
AcceleratorBuffer: added doxygen comment
1 parent fa6dcf2 commit d90f3e4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

scopehal/AcceleratorBuffer.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,6 +1432,15 @@ class AcceleratorBuffer
14321432
}
14331433

14341434
public:
1435+
1436+
/**
1437+
@brief Sets the debug name for this buffer.
1438+
1439+
The name can be queried by m_name in a debugger. If VK_EXT_debug_utils is active, the name will also
1440+
be attached to the Vulkan object handle.
1441+
1442+
@param name Name of the buffer
1443+
*/
14351444
void SetName(std::string name)
14361445
{
14371446
m_name = name;

0 commit comments

Comments
 (0)