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

Author Topic: sf::Shader get shader Id?  (Read 1343 times)

0 Members and 1 Guest are viewing this topic.

kreed

  • Newbie
  • *
  • Posts: 14
    • View Profile
sf::Shader get shader Id?
« on: April 22, 2013, 12:29:41 am »
I would like to use sf::Shader, and it works well, but it doesn't seem to have a way for me to get the shader program ID. I need this because I want to send my matrix to my shader.

There is Shader.setParameter() , this will only take the sf Transform, which has less features than I would like.

I need to be able to get the shader program ID so I can manually send GLM types to my shader, so is there a way to acquire it?


Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: sf::Shader get shader Id?
« Reply #1 on: April 22, 2013, 07:40:56 am »
Nop, sorry.

Out of curiosity, what features are missing in sf::Transform for you to be happy?
Laurent Gomila - SFML developer