Version: 2022.2
Experimental: this API is experimental and might be changed or removed in the future.

RayTracingInstanceCullingMaterialTest.requiredShaderTags

切换到手册
public RayTracingInstanceCullingShaderTagConfig[] requiredShaderTags ;

描述

An array of Shader Tags used by RayTracingAccelerationStructure.CullInstances to ignore Renderers or individual sub-meshes.

If a Shader contains a Shader Tag from the list then the acceleration structure will ignore the Renderer or the sub-mesh using the Shader.

RayTracingAccelerationStructure.CullInstances.