Table of Contents

Class BuiltInAttribute

Namespace
Xui.GPU.Shaders.Attributes
Assembly
Xui.Core.dll

Specifies that a field represents a built-in shader semantic.

[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class BuiltInAttribute : Attribute
Inheritance
BuiltInAttribute
Inherited Members

Constructors

BuiltInAttribute(BuiltIn)

Initializes a new instance of the BuiltInAttribute class.

public BuiltInAttribute(BuiltIn semantic)

Parameters

semantic BuiltIn

The built-in semantic.

Properties

Semantic

Gets the built-in semantic.

public BuiltIn Semantic { get; }

Property Value

BuiltIn