Version: 2021.1

HybridV2ShaderReflection.GetDOTSInstancingCbuffers

切换到手册
public static NativeArray<DOTSInstancingCbuffer> GetDOTSInstancingCbuffers (Shader shader);

参数

shader Shader to get reflection data from.

返回

NativeArray<DOTSInstancingCbuffer> List of detected DOTS instancing constant buffers.

描述

Returns the list of detected Hybrid Renderer DOTS instancing constant buffers for the given shader.

This is an experimental API for use by the Hybrid Renderer package. It is not intended for any other purpose.