Render to a 2D texture array
Create a render texture to render to a 2D texture array.
阅读时间1 分钟最后更新于 1 个月前
To render to a 2D texture array, create a render texture and set the Dimension property to 2D Array.
If you use the API, set the parameter to the slice you want to render to.
Graphics.SetRenderTargetdepthSliceIf the platform supports geometry shaders, use a geometry shader to render to individual slices, or set to to render to all the slices.
depthSlice-1