RenderPath.cs 302 B

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