Version: 2023.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.