diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index d2ba5fb..e02a7d0 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. ///