ConfigurationAttribute
Description
- Derived from
-
Attribute abstract
The static class defines compile-time constant values that are used to configure compilation of generated GPU code:
[Configuration] public static class MyConfiguration { #region Public / Constants /// <summary> /// This is a configuration setting with a compile-time constant value. /// </summary> public static readonly bool SOME_BOOL_VALUE = true; /// <summary> /// This is a configuration setting with a compile-time constant value. /// </summary> public static readonly float SOME_FLOAT_VALUE = 1.0f; /// <summary> /// This is a configuration setting with a compile-time constant value. /// </summary> public static readonly int SOME_INT_VALUE = 1; #endregion }