diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index d2ba5fb8..e02a7d0e 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -211,6 +211,29 @@ namespace MoonWorks.Graphics ); } + /// + /// Dispatches compute work. + /// + /// + /// + /// + /// + public void DispatchCompute( + uint groupCountX, + uint groupCountY, + uint groupCountZ, + uint computeParamOffset + ) { + Refresh.Refresh_DispatchCompute( + Device.Handle, + Handle, + groupCountX, + groupCountY, + groupCountZ, + computeParamOffset + ); + } + /// /// Binds a graphics pipeline so that rendering work may be performed. ///