indexBuffer
The index buffer that Unity uses to define the ray tracing geometry instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public GraphicsBuffer indexBuffer { readonly get; set; }
Remarks
You can use a common index buffer and vertex buffer to define multiple geometry instances with different properties (for example different materials).
Use for the GraphicsBuffer.Target parameter when creating the index buffer from scripts.
GraphicsBuffer.Target.Index | GraphicsBuffer.Target.Raw