HISE Logo Forum
    • Categories
    • Register
    • Login

    Rectangle Viewer... Ok, but where?

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 220 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by ustk

      How do you display that Rectangle Viewer for the scope .sample inspection?

      Can't help pressing F5 in the forum...

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @ustk
        last edited by

        You have to compile HISE with HISE_INCLUDE_PROFILING_TOOLKIT=1 - the .sample function is part of the profiling toolbox.

        var x = Rectangle(200, 100, 400, 200);
        
        {
        	.sample("noice");
        	Console.sample("funky", x);
        	Console.sample("funky2", x.withSizeKeepingCentre(50, 50));
        		
        }
        

        31166d24-c51b-44ea-8b10-6b6ff44b2261-image.png

        ustkU 1 Reply Last reply Reply Quote 1
        • ustkU
          ustk @Christoph Hart
          last edited by

          @Christoph-Hart Ok cool, I did tried it successfully once but wasn't able to understand why I can't anymore... Makes sense...
          The doc say something about that flag, but my mind wasn't set to understand the viewer needed it ☺

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          19

          Online

          1.8k

          Users

          11.9k

          Topics

          104.0k

          Posts