ICubismMaskCommandSource.cs 664 B

12345678910111213141516171819202122232425
  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. using UnityEngine.Rendering;
  8. namespace Live2D.Cubism.Rendering.Masking
  9. {
  10. /// <summary>
  11. /// Common interface for mask command sources.
  12. /// </summary>
  13. public interface ICubismMaskCommandSource
  14. {
  15. /// <summary>
  16. /// Called to enqueue source.
  17. /// </summary>
  18. /// <param name="buffer">Buffer to enqueue in.</param>
  19. void AddToCommandBuffer(CommandBuffer buffer);
  20. }
  21. }