Version: 2020.1

HybridV2ShaderReflection.GetDOTSInstancingProperties

切换到手册
public static NativeArray<DOTSInstancingProperty> GetDOTSInstancingProperties (Shader shader);

参数

shader Shader to get reflection data from.

返回

NativeArray<DOTSInstancingProperty> List of detected DOTS instancing properties.

描述

Returns the list of detected DOTS instancing properties for the given shader.

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