struct in UnityEngine.Experimental.Rendering
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseThis structure is used by RayTracingAccelerationStructure.CullInstances function to determine which types of Materials are used by Renderers when populating the acceleration structure with ray tracing instances.
RayTracingAccelerationStructure.CullInstances function can ignore Renderers or sub-meshes that use different types of Materials as defined by this configuration. RayTracingInstanceCullingConfig parameter contains one Material configuration for alpha tested Materials and one for transparent Materials. If a Material is not classified as transparent or alpha tested then is considered being opaque.
The Material type is defined by testing one of the following properties:
See Also: RayTracingInstanceCullingTest, RayTracingAccelerationStructure.
optionalShaderKeywords | An array of Shader Keyword names used to determine the Material type. |
optionalShaderTags | An array of Shader Tags used to determine the Material type. |
renderQueueLowerBound | The lower limit of a render queue interval. |
renderQueueUpperBound | The upper limit of a render queue interval. |