UnityEngine.ComputeBuffer.ComputeBuffer C# (CSharp) Method

ComputeBuffer() public method

Create a Compute Buffer.

public ComputeBuffer ( int count, int stride ) : System
count int Number of elements in the buffer.
stride int Size of one element in the buffer. Has to match size of buffer type in the shader. See for cross-platform compatibility information.
return System
        public ComputeBuffer(int count, int stride) : this(count, stride, ComputeBufferType.Default)
        {
        }

Same methods

ComputeBuffer::ComputeBuffer ( int count, int stride, ComputeBufferType type ) : System