struct in UnityEngine.Rendering
/
Implemented in:UnityEngine.CoreModule
Parameters you can use to configure ray tracing triangle geometry instances that are part of a RayTracingAccelerationStructure.
The triangle geometry is specified using GraphicsBuffers containing vertex and index data and additional parameters.
Additional resources: RayTracingAccelerationStructure.AddInstance, RayTracingAccelerationStructure.AddInstancesIndirect.
accelerationStructureBuildFlags | The flags Unity uses when it builds the acceleration structure for the geometry referenced by this ray tracing instance configuration. |
accelerationStructureBuildFlagsOverride | Whether to override the build flags specified when creating a RayTracingAccelerationStructure. |
enableTriangleCulling | Whether front/back face culling for this ray tracing instance is enabled. |
frontTriangleCounterClockwise | Whether to flip the way triangles face in this ray tracing instance. |
indexBuffer | The index buffer that Unity uses to define the ray tracing geometry instance. |
indexCount | The amount of indices from indexBuffer that defines this ray tracing geometry instance. |
indexStart | The first index from indexBuffer that defines this ray tracing geometry instance. |
layer | The layer used by the ray tracing instance. |
lightProbeProxyVolume | The LightProbeProxyVolume the ray tracing instance uses. |
lightProbeUsage | The Light Probe interpolation type for this instance. |
mask | The ray tracing instance mask. |
material | The material the ray tracing instance uses. |
materialProperties | Additional material properties to apply onto material. |
motionVectorMode | Motion vector mode. |
rayTracingMode | The RayTracingMode that you can use to control how the geometry associated with a ray tracing instance is updated. |
renderingLayerMask | A mask that you can access in HLSL with unity_RenderingLayer built-in shader uniform. |
subMeshFlags | Flags that determine the ray-geometry intersection behavior relative to material type during ray tracing. |
vertexAttributes | An array of vertex attributes that define the vertex format of vertexBuffer. |
vertexBuffer | The vertex buffer that Unity uses to define the ray tracing geometry instance. |
vertexCount | The amount of vertices from vertexBuffer that defines this ray tracing geometry instance. |
vertexStart | The index of the first vertex from vertexBuffer that defines this ray tracing geometry instance. |