Version: 2022.2

BatchBufferTarget

enumeration

切换到手册

描述

Expected target for the buffer passed to BatchRendererGroup.AddBatch.

.

变量

UnknownThis is the default uninitialized value for this enum. It is here as a placeholder. Unity will never return this, and you will never use it.
UnsupportedByUnderlyingGraphicsApiThe Batch Renderer does not support the active graphics API because this API does not provide buffer targets for the BatchRendererGroup.
RawBufferIf [Rendering.BatchBufferTarget] returns this value, the per batch buffer must be a raw buffer.
ConstantBufferIf [Rendering.BatchBufferTarget] returns this value, the per batch buffer must be a constant buffer.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961