Version: 2020.1
言語: 日本語

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 関数

GetDataRead data values from the buffer into an array. The array can only use blittable types.
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.
SetCounterValueappend/consume バッファのカウンターの値を設定します。
SetData配列から値をバッファへと設定します

Static 関数

CopyCountappend/consume バッファの値を別のバッファにカウンター変数をコピーします。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961