add DispatchCompute to command buffer
parent
d2fca3654b
commit
8022cd1011
|
@ -211,6 +211,29 @@ namespace MoonWorks.Graphics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Dispatches compute work.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="groupCountX"></param>
|
||||||
|
/// <param name="groupCountY"></param>
|
||||||
|
/// <param name="groupCountZ"></param>
|
||||||
|
/// <param name="computeParamOffset"></param>
|
||||||
|
public void DispatchCompute(
|
||||||
|
uint groupCountX,
|
||||||
|
uint groupCountY,
|
||||||
|
uint groupCountZ,
|
||||||
|
uint computeParamOffset
|
||||||
|
) {
|
||||||
|
Refresh.Refresh_DispatchCompute(
|
||||||
|
Device.Handle,
|
||||||
|
Handle,
|
||||||
|
groupCountX,
|
||||||
|
groupCountY,
|
||||||
|
groupCountZ,
|
||||||
|
computeParamOffset
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Binds a graphics pipeline so that rendering work may be performed.
|
/// Binds a graphics pipeline so that rendering work may be performed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Reference in New Issue