Version: 2023.2
言語: 日本語

RayTracingSubMeshFlagsConfig

struct in UnityEngine.Rendering

マニュアルに切り替える

説明

A structure used by RayTracingAccelerationStructure.CullInstances that defines the RayTracingSubMeshFlags values for different Material types.

This configuration determines the behavior of Meshes or individual sub-meshes based on their Material type when building an acceleration structure or when performing ray tracing.

Additional resources: RayTracingAccelerationStructure.

変数

alphaTestedMaterialsThe corresponding RayTracingSubMeshFlags value for alpha tested Materials.
opaqueMaterialsThe corresponding RayTracingSubMeshFlags value for opaque Materials.
transparentMaterialsThe corresponding RayTracingSubMeshFlags value for transparent Materials.