LineParameters

Description

sealed class Tinman.Engine.Rendering.Effects.Shared.LineParameters

Shared render effect parameters for thick lines.

The following low-level render effect parameter slots are defined iff ILineFeatureLevels.FeatureLevel is LineFeatureLevel.DX10 or higher:

Public / Constants

ChangedLineThickness


public constant ChangedLineThickness → (1:int64)

Changed flag for LineThickness.

Public / Constructors

LineParameters


public constructor LineParameters → (1)

featureLevel in : LineFeatureLevel

The required feature level.

Creates a new instance of LineParameters.

Public / Attributes

LineThickness


public attribute LineThickness → (get,set)

value : Vec3F

The line thickness coefficients:
Vec3F.X: thickness / width
Vec3F.Y: thickness / height
Vec3F.Z: 1 / thickness
where thickness is the line thickness in screen pixels, width is the viewport width in pixels and height is the viewport height in pixels.

Coefficients for rendering thick lines.

Defaults to Vec3F.Zero.