Version: 2019.4

GraphicsBuffer

class in UnityEngine

マニュアルに切り替える

説明

GPU graphics data buffer, for working with data such as vertex and index buffers.

Most draw calls supply vertex and index buffers to the GPU. This structure exposes those buffers to script, in order to allow for low-level rendering control.

See Also: Graphics.DrawProcedural.

変数

countバッファ要素の数(読み取り専用) .
strideバッファの一つの要素のサイズ(読み取り専用) .

コンストラクタ

GraphicsBufferCreate a Graphics Buffer.

Public 関数

GetNativeBufferPtrRetrieve a native (underlying graphics API) pointer to the buffer.
IsValidReturns true if this graphics buffer is valid, or false otherwise.
ReleaseRelease a Graphics Buffer.
SetData配列から値をバッファへと設定します