If you just want to specify a shader, you can pass it directly to the RenderTarget.draw() method: window.draw(sprite, shader). Note that unlike in C++ SFML, ...
確定! 回上一頁