Table of Contents

Class RestructuredHelperDefinition

Namespace
ShadowDusk.HLSL.Ast
Assembly
ShadowDusk.HLSL.dll

One helper a tex2Dlod-family call was rewritten to; see RestructuredHelpers.

public sealed record RestructuredHelperDefinition : IEquatable<RestructuredHelperDefinition>
Inheritance
RestructuredHelperDefinition
Implements
Inherited Members

Constructors

RestructuredHelperDefinition(string, string, int, int, int)

One helper a tex2Dlod-family call was rewritten to; see RestructuredHelpers.

public RestructuredHelperDefinition(string Name, string Intrinsic, int Line, int StartColumn, int EndColumn)

Parameters

Name string

The helper's name (tex2Dlod_SD0).

Intrinsic string

The intrinsic the author wrote (tex2Dlod).

Line int

1-based line of the definition in the stripped text.

StartColumn int

1-based column where the definition starts.

EndColumn int

1-based column just past the definition.

Properties

EndColumn

1-based column just past the definition.

public int EndColumn { get; init; }

Property Value

int

Intrinsic

The intrinsic the author wrote (tex2Dlod).

public string Intrinsic { get; init; }

Property Value

string

Line

1-based line of the definition in the stripped text.

public int Line { get; init; }

Property Value

int

Name

The helper's name (tex2Dlod_SD0).

public string Name { get; init; }

Property Value

string

StartColumn

1-based column where the definition starts.

public int StartColumn { get; init; }

Property Value

int