CubismShaderVariables.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * Copyright(c) Live2D Inc. All rights reserved.
  3. *
  4. * Use of this source code is governed by the Live2D Open Software license
  5. * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
  6. */
  7. namespace Live2D.Cubism.Rendering
  8. {
  9. /// <summary>
  10. /// Cubism shader variables.
  11. /// </summary>
  12. internal static class CubismShaderVariables
  13. {
  14. /// <summary>
  15. /// Main texture shader variable name.
  16. /// </summary>
  17. public const string MainTexture = "_MainTex";
  18. /// <summary>
  19. /// Model opacity shader variable name.
  20. /// </summary>
  21. public const string ModelOpacity = "cubism_ModelOpacity";
  22. /// <summary>
  23. /// Mask texture shader variable name.
  24. /// </summary>
  25. public const string MaskTexture = "cubism_MaskTexture";
  26. /// <summary>
  27. /// Mask tile shader variable name.
  28. /// </summary>
  29. public const string MaskTile = "cubism_MaskTile";
  30. /// <summary>
  31. /// Mask transform shader variable name.
  32. /// </summary>
  33. public const string MaskTransform = "cubism_MaskTransform";
  34. }
  35. }