文档

Unity Engine


User Manual

Script Reference

Unity Engine


requiredShaderTags

An array of Shader Tags used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.
阅读时间1 分钟最后更新于 23 天前

Definition

public RayTracingInstanceCullingShaderTagConfig[] requiredShaderTags

Remarks

If a Shader contains a Shader Tag from the list, the acceleration structure ignores the Renderer or the sub-mesh that uses the Shader.