Implement mesh viewer support for task/mesh shaders

This commit is contained in:
baldurk
2023-11-17 00:47:55 +00:00
parent d898e2ac09
commit 1df7c1ae81
20 changed files with 1481 additions and 551 deletions
+10
View File
@@ -133,6 +133,14 @@ DOCUMENT(R"(Specifies the panel to add a menu item into.
Adds the item to the context menu for GS/Tess output in the mesh previewing :class:`BufferViewer`.
.. data:: MeshPreview_TaskOutVertex
Adds the item to the context menu for task shader output in the mesh previewing :class:`BufferViewer`.
.. data:: MeshPreview_MeshOutVertex
Adds the item to the context menu for mesh shader output in the mesh previewing :class:`BufferViewer`.
.. data:: TextureViewer_Thumbnail
Adds the item to the context menu for all thumbnails in the :class:`TextureViewer`.
@@ -153,6 +161,8 @@ enum class ContextMenu
MeshPreview_VSInVertex,
MeshPreview_VSOutVertex,
MeshPreview_GSOutVertex,
MeshPreview_TaskOutVertex,
MeshPreview_MeshOutVertex,
TextureViewer_Thumbnail,
TextureViewer_InputThumbnail,
TextureViewer_OutputThumbnail,