기술 자료

Unity Engine

Unity Engine

DestroyBuffer(BufferID)

Destroy the buffer with the given ID.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void DestroyBuffer(BufferID id)

Parameters

ID of the buffer to destroy.

Remarks

using UnityEngine.LightTransport;IDeviceContext ctx = new RadeonRaysContext();ctx.Initialize();const int sizeInBytes = 4;var bufferID = ctx.CreateBuffer(sizeInBytes);ctx.DestroyBuffer(bufferID);ctx.Dispose();
How to destroy a buffer.