Vertex
GraphicsBuffer can be used as a vertex buffer.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Vertex = 1
Remarks
DirectX 11 does not allow buffers to also be GraphicsBuffer.Target.Structured. For compute shader mesh data access with DirectX 11 compatibility, it is best to use GraphicsBuffer.Target.Raw.
VertexAdditional Resources: Mesh.vertexBufferTarget, Mesh.GetVertexBuffer.