Version: 2021.3

HybridV2ShaderReflection.GetDOTSReflectionVersionNumber

切换到手册
public static uint GetDOTSReflectionVersionNumber ();

返回

uint DOTS reflection data version number.

描述

Returns a monotonically increasing DOTS reflection data version number, which is incremented whenever a shader is loaded that contains DOTS instancing properties.

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