Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SetParameter not working with integer  (Read 3117 times)

0 Members and 1 Guest are viewing this topic.

Rob92

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
SetParameter not working with integer
« on: March 17, 2016, 02:15:07 am »
Hello again  ;D

A while ago I posted this thread on C++ side of SFML:

http://en.sfml-dev.org/forums/index.php?topic=19872.msg143047#msg143047

I had problems using integers with shader->SetParameter. People suggested me to build the latest version of the SFML source and use the new functino: SetUniform instead.
This worked, however, SFML .NET version seems to have to old SetParameter function, and the problem I had in my previous post has returned.

Are there any plans of updating the .NET version to SetUniform as well?

Thanks,

Rob

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11029
    • View Profile
    • development blog
    • Email
Re: SetParameter not working with integer
« Reply #1 on: March 17, 2016, 08:20:54 am »
SFML.NET (and CSFML) always gets updated at some point to match the C++ version. Sometimes it just takes a bit longer. If you want to, you can help accelerate this by contributing to CSFML or SFML.NET.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/