Version: 2023.2
言語: 日本語
public GraphicsBuffer indexBuffer ;

説明

The index buffer that Unity uses to define the ray tracing geometry instance.

You can use a common index buffer and vertex buffer to define multiple geometry instances with different properties (for example different materials).

Use GraphicsBuffer.Target.Index | GraphicsBuffer.Target.Raw for the Target parameter when creating the index buffer from scripts.