1
Graphics / How to create a VertexArray with a repeated texture
« on: December 13, 2019, 11:16:12 pm »
Hey,
how is the sf::Texture::m_isRepeated feature actually implemented? I looked at the source code but I don't know openGl yet and don't understand if the SFML library or openGl is doing this. Since I am using only vertexArrays for drawing and wanted to still use this feature without having to use a sf::Sprite or a sf::Drawable. I know how I would implement this feature with a vertexArray but I am wondering if there is any performance impact in case this is normally done by openGl.
Best regards,
Daniel Schreiber Mendes
how is the sf::Texture::m_isRepeated feature actually implemented? I looked at the source code but I don't know openGl yet and don't understand if the SFML library or openGl is doing this. Since I am using only vertexArrays for drawing and wanted to still use this feature without having to use a sf::Sprite or a sf::Drawable. I know how I would implement this feature with a vertexArray but I am wondering if there is any performance impact in case this is normally done by openGl.
Best regards,
Daniel Schreiber Mendes