Table of Contents

Class ShaderProgramAttribute

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

Marks a type as a shader program definition. Used by source generators to discover and process shader programs.

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