ColorAttribute

Description

sealed class Tinman.Gpu.Semantic.ColorAttribute

Derived from

Attribute abstract

Associates the COLOR[n] semantic with the annotated field.

Public / Constructors

Color​Attribute

2 overloads


public constructor ColorAttribute1 → ()

Creates a new instance of Color.

The semantic Index will be zero.


public constructor ColorAttribute2 → (1)

index in : int32

The semantic Index. Will be clamped to [0..63].

Creates a new instance of Color.

Public / Attributes

Index


public readonly attribute Index → (int32)

The zero-based semantic index.