protected override void DispatchIndirectCore(DeviceBuffer indirectBuffer, uint offset) { PreDispatchCommand(); D3D11Buffer d3d11Buffer = Util.AssertSubtype <DeviceBuffer, D3D11Buffer>(indirectBuffer); _context.DispatchIndirect(d3d11Buffer.Buffer, (int)offset); }
public void Draw(DeviceContext ctx) { ctx.DispatchIndirect(this.DispatchBuffer, this.Offet); }
public void Draw(DeviceContext ctx) { //ctx.ComputeShader. ctx.DispatchIndirect(this.IndirectArgs.Buffer, 0); }