Version: 2020.1

HybridV2ShaderReflection

class in Unity.Rendering.HybridV2

切换到手册

描述

Contains methods for reading Hybrid Renderer specific reflection data from shaders.

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

静态函数

GetDOTSInstancingCbuffersReturns the list of detected Hybrid Renderer DOTS instancing constant buffers for the given shader.
GetDOTSInstancingPropertiesReturns the list of detected DOTS instancing properties for the given shader.
GetDOTSReflectionVersionNumberReturns a monotonically increasing DOTS reflection data version number, which is incremented whenever a shader is loaded that contains DOTS instancing properties.