Struct LineRendering.RendererData
Container for parameters defining a renderable instance for the line rendering system.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct LineRendering.RendererData
Fields
| Name | Description |
|---|---|
| distanceToCamera | Distance to camera for sorting purposes. |
| group | Merging group for sorting between multiple renderer datas. |
| hash | Unique identifier for the renderer data. |
| indexBuffer | Handle to the line topology's index buffer resource. |
| lineCount | The number of lines in the mesh. |
| lod | Percentage of strands to render. |
| lodBuffer | Handle to a buffer for computing level of detail. |
| lodMode | Level of detail mode. |
| material | Material to draw the lines. |
| matrixW | World Matrix. |
| matrixWP | Previous World Matrix. |
| mesh | Mesh with line topology. |
| motionVectorParams | Motion vector parameters. |
| offscreenShadingPass | Offscreen shading pass index. |
| probe | Spherical harmonic coefficients for probe lighting. |
| renderingLayerMask | Rendering mask. |
| segmentsPerLine | The number of segments-per-line. |
| shadingFraction | Percentage of shading samples to compute. |
| vertexSetupCompute | Compute asset for computing the vertex shader in a compute shader. |