particleBuffer = new ComputeBuffer(particleCount, SIZE_PARTICLE); ... bind the compute buffer to the shader and the compute shader.
確定! 回上一頁