Create andupdate the constant buffer as shown here: var computeBuffer = new Buffer(device, Utilities.SizeOf<ComputeConstants> (), ResourceUsage.
確定! 回上一頁