Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Samples parameter in CreateImage()?

    Coding
    4
    5
    319
    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.
    • vinicity
      vinicity F last edited by

      Hi,
      I noticed in the new help pages that CreateImage has a new parameter called "samples". It is describes as

      Number of samples per pixel (1, 2, 4 or 8)
      

      Could someone tell a little bit about how and when to use this?

      1 Reply Last reply Reply Quote 4
      • pianofire
        pianofire Fuze Team last edited by

        I can't find out much about this. I think we need to ask @Willpowered for more information

        1 Reply Last reply Reply Quote 1
        • pobtastic
          pobtastic F last edited by

          I messed around with it yesterday and could find no difference when changing the config to other values (using both assets and uploadImage). Maybe it's there for some future purpose and not actually implemented yet?

          1 Reply Last reply Reply Quote 0
          • Willpowered
            Willpowered Fuze Team last edited by

            I'm going to have to investigate further- this isn't something I worked on. I can confirm that it is not connected with anything internally and that the value passed for samples has no effect. You can safely ignore this function overload at the moment.

            1 Reply Last reply Reply Quote 0
            • vinicity
              vinicity F last edited by

              Good to know. Maybe remove that parameter from the Help pages for now? Or change the wording...

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