UpTest > Web Development > Game Development Test

Test: Game Development Test

Question 2: Prev Next

Read the following code and select a True statement?

1- bool loadFromFile(const std::string& filename, sf::Shader::Type type); 2- bool loadFromFile(const std::string& vertexShaderFilename,const std::string& fragmentShaderFilename);

D.The first and second will loads only single file 
C.Both(A & B)
B.The second function loads both a vertex and a fragment shader
A.The first function loads either a fragment or a vertex shader 
Please login to submit your answer.