RayTracingSubMeshFlagsConfig
A structure used by RayTracingAccelerationStructure.CullInstances that defines the RayTracingSubMeshFlags values for different Material types.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public struct RayTracingSubMeshFlagsConfig
Remarks
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.
Fields
Value | Description |
|---|---|
| alphaTestedMaterials | The corresponding RayTracingSubMeshFlags value for alpha tested Materials. |
| opaqueMaterials | The corresponding RayTracingSubMeshFlags value for opaque Materials. |
| transparentMaterials | The corresponding RayTracingSubMeshFlags value for transparent Materials. |