GraphicsBuffer

class in UnityEngine

Cambiar al Manual

Descripción

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.

Variables

countNumber of elements in the buffer (Read Only).
strideSize of one element in the buffer (Read Only).

Constructores

GraphicsBufferCreate a Graphics Buffer.

Funciones Públicas

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.
SetDataSet the buffer with values from an array.