WithAttribute

Description

sealed class Tinman.Gpu.Semantic.WithAttribute

Derived from

Attribute abstract

Associates additional semantic behaviour with the annotated field, parameter or method.

If an annotated parameter has a struct type, the behaviour flags of each struct element A and the flags of the parameter B are merged (A | B) and then normalized via Coalesce.

Public / Constructors

With​Attribute


public constructor WithAttribute → (1)

flags in : Behaviour

The behaviour flags.

Creates a new instance of With.

Public / Methods

Coalesce


Reduces the given behaviour in flags to the smallest set that is semantically equivalent.

Combine


[Pure]
public static method Combine → (2)

in : Behaviour

The first set of behaviour flags.

in : Behaviour

The second set of behaviour flags.

returns → Behaviour

The combined set of behaviour flags.

Combines the given behaviour flags.

Public / Attributes

Flags


public readonly attribute Flags → (Behaviour)

The behaviour flags.