struct in UnityEngine.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.
CloseParameters 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.
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. |
dynamicGeometry | Whether Unity considers the geometry animated or not. |
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. |
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. |