1
Graphics / 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?
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?