RenderPath.cs 339 B

123456789101112131415161718192021
  1. namespace Urho
  2. {
  3. unsafe partial class RenderPath
  4. {
  5. #if !WINDOWS_UWP && !UWP_HOLO
  6. public RenderPathCommand*[] Commands
  7. {
  8. get
  9. {
  10. var count = NumCommands;
  11. var result = new RenderPathCommand*[count];
  12. for (uint i = 0; i < count; i++)
  13. {
  14. result[i] = GetCommand(i);
  15. }
  16. return result;
  17. }
  18. }
  19. #endif
  20. }
  21. }