Version: 2020.3

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.


Did you find this page useful? Please give it a rating: