GraphicsBuffer Constructor

public GraphicsBuffer(GraphicsBuffer.Target target, int count, int stride);

Parameters

target Select whether this buffer can be used as a vertex or index buffer.
count Number of elements in the buffer.
stride Size of one element in the buffer. For index buffers, this must be either 2 or 4 bytes.

Description

Create a Graphics Buffer.

Use Release to release the buffer when no longer needed.

See Also: Graphics.DrawProcedural.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答